Project

General

Profile

why not parse wiki content to a node tree structure, why not keep textilizable() simple and stupid?

Added by Jiongliang Zhang over 14 years ago

Just like restructured text and Trac:http://www.trac.org, first change the wiki content to a document tree, a node structure, and parse the links independent, and redmine is how, like this:

  • first, deal <pre>, <code>...blocks,
  • second, deal marcos,
  • third, parse all kinds of wiki attachments and links.

Why write 200 lines code to transform the wiki content in only one function, no "KISS" principle? and why not use document tree? no one can extend this function,then no one can extend the wiki formatter?

waiting for answer.

Thanks.


    (1-1/1)