jbowens / jBBCode

A lightweight but extensible BBCode parser
http://jbbcode.com
MIT License
164 stars 32 forks source link

Handle newlines #43

Closed shmax closed 9 years ago

shmax commented 9 years ago

Fix for https://github.com/jbowens/jBBCode/issues/31

Hardens tag options parsing a bit so that neither newlines nor extra spaces break anything. eg.

This contains a [
        url=http://jbbcode.com   ]url[/url] which uses an option, and has a newline in the tag.
DaSourcerer commented 9 years ago

:+1:

jbowens commented 9 years ago

might need to rebase off master but lgtm

shmax commented 9 years ago

Removed newline and sync'ed with master.

Kubo2 commented 9 years ago

:+1: