centering multiple lines of text

I am having trouble with centering multiple lines of text. I add new BBTag("center", "<div style=\"text-align:center\">", "</div>"), to _AllowedTags. My input is: [center]line 1[br] [b]Line 2 (Bol...

Id #11726 | Release: None | Updated: May 23, 2014 at 7:48 PM by Hooksb | Created: May 23, 2014 at 7:48 PM by Hooksb

XSS possible via img and url tags

Using the demo code for the project shown on the https://bbcode.codeplex.com/ home page, it is possible to inject JavaScript into the page to be executed: The parser is set up as: var parser = ne...

Id #11546 | Release: None | Updated: Jan 30, 2014 at 10:23 PM by xpnsecurity | Created: Jan 30, 2014 at 10:23 PM by xpnsecurity

Library is throwing MissingManifestResourceExceptions

The bb code library is steadily throwing a MissingManifestResourceException for example when unparsable input is tried to be rendered. Then the library tries to throw a parsing exception with a loc...

Id #11186 | Release: None | Updated: Aug 2, 2013 at 9:24 AM by josupeit | Created: Aug 2, 2013 at 9:24 AM by josupeit

BBCode Parser Color and Size Tag issues

Issue with BBCode parser is that it doesn't render some HTML tags like [COLOR] and [SIZE]. we can not use BBCode.ToHTML( ) for above tags. Hence we have to end up writing customized parser which ...

Id #11111 | Release: None | Updated: Jun 28, 2013 at 9:36 AM by bhargavmehta | Created: Jun 28, 2013 at 9:36 AM by bhargavmehta

List parsing error

[list][] item [] item2 [/list] will render as itemitem2 instead of itemitem2

Id #10789 | Release: None | Updated: Feb 14, 2013 at 2:41 AM by rmuzzey | Created: Jan 31, 2013 at 8:25 PM by rmuzzey

.NET 4.0 Release Mode

Building the project fails in release mode on .NET 4.0 and 4.5. Build Output shows: 1>SGEN : error : Could not load file or assembly 'file:///D:\websites\testbuild\bin\CodeKicker.BBCode.dll' or on...

Id #10747 | Release: None | Updated: Feb 14, 2013 at 2:41 AM by typhoonit | Created: Jan 16, 2013 at 5:58 PM by typhoonit

Partial solution for font, color, size and indent parsing.

This is as far as I could get... it makes "legible" output of "standard bbcode", although it still needs a fix to handle spaces within font names.     var parser = new BBCodeParser(new[] ...

Id #9745 | Release: None | Updated: Feb 5, 2014 at 9:38 AM by s0kol | Created: Dec 27, 2011 at 2:28 PM by orwellophile

NuGet package

Hi guys,   could you please create and publish NuGet package for latest release?   Thanks

Id #9727 | Release: None | Updated: Feb 14, 2013 at 2:41 AM by shatl | Created: Dec 18, 2011 at 1:58 PM by shatl

Parse list and *

When I try to parse a simple list, the closing </li> tags are placed after all <li> items: Expected: "<ul><li>one</li><li>two</li></ul>" But was: "<ul><li>one<li>two</li></li></ul>"   Test: // ...

Id #9656 | Release: None | Updated: Nov 16, 2013 at 3:05 PM by Moath88 | Created: Nov 30, 2011 at 7:52 AM by pfageras

Invalid HTML links translating [url] tags

Code used:   IList<BBTag> bbTags = new List<BBTag>(); bbTags.Add(new BBTag("b", "<strong>", "</strong>")); bbTags.Add(new BBTag("i", "<i>", "</i>")); bbTags.Add(new BBTag("u", "<u>", "</u>")); bbTa...

Id #9530 | Release: None | Updated: Feb 14, 2013 at 2:41 AM by gllortc | Created: Nov 9, 2011 at 10:19 AM by gllortc