Automatically disable auto-formatting in certain HTML tags
Title:
Automatically disable auto-formatting in certain HTML tags
Area:
entries, markup, html cleaner
Summary:
If an entry or comment contains tags such as <ul>, <ol>, <dl>, <table>, or <pre> any text within those tags should automatically have auto-formatting turned off, as if the tag was surrounded by <raw-code>.
Description:
Auto-formatting is massively useful most of the time, since it lets people write in paragraphs without having to worry about adding in HTML line breaks.
Often, though, if people are putting lists or tables into their entry -- either coded manually or copied from elsewhere -- they won't disable auto-formatting either because they forget or because they don't know how. This often results in extra line breaks where they aren't wanted, resulting in ugly and ungainly entries or comments.
It would be nice if auto-formatting could automatically be turned off in tags such as <ul>, <ol>, <dl>, <table>, and <pre> to stop this from happening.
The disadvantage to this is that if people are writing lists/tables and actually want additional linebreaks, they'll have to insert them manually. I think this is much rarer than people not wanting the linebreaks there, though, and also think that it's a problem that's more likely to be encountered by people who are more familiar with HTML in the first place.
This suggestion:
Should be implemented as-is.
13 (31.0%)
Should be implemented with changes. (please comment)
1 (2.4%)
Shouldn't be implemented.
21 (50.0%)
(I have no opinion)
5 (11.9%)
(Other: please comment)
2 (4.8%)