milesj / decoda

A lightweight lexical string parser for BBCode styled markup.
MIT License
196 stars 52 forks source link

Update non-strict mode to allow BOTH attributes that are or aren't surrounded by quotes #117

Closed vladrusu closed 7 years ago

vladrusu commented 7 years ago

Also accept both attributes that are or aren't surrounded by quotes, like [size="10"] and [size=10]

milesj commented 7 years ago

Strict should be default. However, the other change is cool.