Shortcodes with 0x0a0 spaces not parsing correctly
-
It seems the wordpress editor occasionally replaces standard 0x020 space characters with 0x0a0 (unicode non-breaking space). I haven’t been able to isolate exactly what causes this, probably some weird transition between the text and visual modes during editing. But it sometimes causes our instagram feed pro to gag on the shortcodes.
Took me two days to figure this out! ?? A working and non-working short code look identical in the wordpress editor but if I copy them over to a hex editor, I can see the non-working one has a 0x0a0 instead of a 0x020 space character between the shortcode name and the parameter.
So I guess the question is, does this need to be fixed in the instagram plugin or upstream in the WP core shortcode handling code?
- The topic ‘Shortcodes with 0x0a0 spaces not parsing correctly’ is closed to new replies.