4chan / 4chan-API

Documentation for 4chan's read-only JSON API.
http://www.4chan.org/
1.03k stars 73 forks source link

<wbr> in math #66

Open catamphetamine opened 5 years ago

catamphetamine commented 5 years ago

I figured that 4chan places <wbr> ("line break") tags when something not having spaces is longer than 35 characters. In this thread: http://boards.4channel.org/sci/thread/10473981#q10473981 It has inserted <wbr> in an equation:

[math]f(x)=\\frac{x^3-x}{(x^2+1)^2}[<wbr>/math]

I suppose this is a bug. I'm filtering out all <wbr>s in my code anyway though so this issue doesn't affect me. If you don't think it's a bug then feel free to close this issue.

catamphetamine commented 5 years ago

Actually, this is a bug because the <wbr> broke the equation rendering:

image