You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taizen currently parses wiki text in a naive way using regular expressions. Wiki text cannot be correctly parsed with regular expressions. I propose using Parse Wiki Text (crates.io, Github) to parse wiki text into a tree, and then formatting the output simply by walking the tree. See the readme of Parse Wiki Text for a description of the challenges of correctly parsing wiki text.
The text was updated successfully, but these errors were encountered:
After taking ownership of this issue, I see that parse_wiki_text was last released ~4 years ago. I don't think that bringing on more technical debt that is ~4 years old as a dependency is the best route forward at the moment. Currently looking into alternatives.
Taizen currently parses wiki text in a naive way using regular expressions. Wiki text cannot be correctly parsed with regular expressions. I propose using Parse Wiki Text (crates.io, Github) to parse wiki text into a tree, and then formatting the output simply by walking the tree. See the readme of Parse Wiki Text for a description of the challenges of correctly parsing wiki text.
The text was updated successfully, but these errors were encountered: