Post Reply 
Forum adding unicode character to code blocks?
Dec. 16, 2011, 03:28 AM
Post: #2
RE: Forum adding unicode character to code blocks?
My best guess is that the forums word wrap routine is responsible. I have found http://community.mybb.com/thread-100522-...#pid748894 .

G33K Wrote:The problem was that the word wrap setting was lowered to 40, this caused the javascript mycode replacement to get cutoff after 40 characters and a zero width character getting inserted which broke the javascript.

I raised the word wrap limit to the default of 80 and this fixed it. So for others here who were having problems try raising your word wrap limit if it is lowered or if your mycode replacement contains a continuous string of characters that is longer than the word wrap limit.

The current routine appears to insert "zero width characters" regardless of string length, however. Unless, TUOPF's "Number of Characters before Word Wrapping Occurs" setting is very low?
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Forum adding unicode character to code blocks? - JJoe - Dec. 16, 2011 03:28 AM

Forum Jump: