Ticket #218 (new enhancement)

Opened 20 months ago

Last modified 20 months ago

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

comment:1 Changed 20 months ago by weswinham

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.

comment:2 Changed 20 months ago by albert.lash@…

Perfect, thank you! I will read up on plugins.

Note: See TracTickets for help on using tickets.