mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 20:43:54 +08:00
53b3d2f0dc
Wasn't quite handling the cases where a closing bracket `]` was used in the value of one of the attributes.
```markdown
[chat quote=user channel="[broken]"]
```
Would not be correctly parsed because we would _greedily_ use the first `]` as the end of the tag even though it might be a valid character when inside proper quotes.
|
||
---|---|---|
.. | ||
pretty_text_spec.rb |