ForumSite Feature Requests ► 'Bold' tags don't work right when capitalized
This text should be bolded</B> but the second half of the sentence should not.


View source. Compression kills.
  
What an interesting bug.
  
Test the other way.
Or Matching</B> tags?
Italics</I> next.
Same</I> pattern.
Under</U>line
Strike</S>through.
Up</SUP>, up and away.
Down</SUB> to the wire.

<IMAGE>http://i.imgur.com/kcFICFk.png</IMAGE>

Looks like a generic problem with upper case in closing tags to me.

Hold on...

Mixedcase OK in opening tag.
  • No closing tag for <image>
  
Test
Test</linK>
Test</Link>
Test
  
The opening tag is popped from the token queue using some code that canonicalizes case and the closing tag is popped from the token queue using a read_till(some literal string). The code surrounding and used by these is an utter mess (the hyphen bullet code ruins everything) so I'll just fix this when I rewrite the parser.
  
Forum > Site Feature Requests > 'Bold' tags don't work right when capitalized