Ticket #218 (new enhancement)
Line feeds at certain closing tags?
Reported by: | albert.lash@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | editor | Version: | trunk |
Keywords: | life feeds | Cc: |
Description
I am reviewing WYMeditor and am very impressed.
In my review, it appears that the code that is generated from the editor contains no line breaks.
I would like certain closing tags to be followed with line feeds so that the raw output is more revision control friendly.
What do you think? I will gladly implement! If this is something you would accept a patch for, please advise how you would like it to be done.
Change History
Note: See
TracTickets for help on using
tickets.
You might want to check out the included tidy plugin. It uses PHP htmltidy to do formatting.
HTML formatting definitely seems like the realm of plugins to me, and I'm sure others would love to use a pure-javascript tidying plugin if you were to put one together.