Closed thescientist13 closed 1 year ago
Bug
If you have markdown with this content for the text $10, the $1 are getting stripped out.
## Posters ($10)
<h2>Posters (0)</h2>
Other examples like $20 and $0 work fine though. https://github.com/AnalogStudiosRI/www.blissfestri.com/pull/124#issuecomment-1645589927
This seems very reminiscent of other .replace capture related bugs we've seen like so I bet it's that.
.replace
Seems like maybe we need to find a better way to do this kind of templating? Seems a bit too naive / brittle considering how .replace works in conjunction with certain replacement patterns. Probably good to start a discussion for that maybe?
Type of Change
Bug
Summary
If you have markdown with this content for the text $10, the $1 are getting stripped out.
Details
Other examples like $20 and $0 work fine though. https://github.com/AnalogStudiosRI/www.blissfestri.com/pull/124#issuecomment-1645589927
This seems very reminiscent of other
.replace
capture related bugs we've seen like so I bet it's that.Seems like maybe we need to find a better way to do this kind of templating? Seems a bit too naive / brittle considering how
.replace
works in conjunction with certain replacement patterns. Probably good to start a discussion for that maybe?