Fix whitespace trimming when reallocating in the encoder (wikitext, 0b85588)
Must update the "non_space" pointer when reallocating the buffer in the link encoder, otherwise we can crash.
Signed-off-by: Greg Hurrell <greg@hurrell.net>
Must update the "non_space" pointer when reallocating the buffer in the link encoder, otherwise we can crash.
Signed-off-by: Greg Hurrell <greg@hurrell.net>