#3232: Wiki syntax should be enforced (for ticket comments)
---------------------------+------------------------------------------------
Reporter: eblot | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: ticket system | Version: devel
Severity: minor | Keywords:
---------------------------+------------------------------------------------
When the wiki syntax is not valid (missing closing tag, for example:
{{{''italic'}}}), Trac does not fix it up.
Although this is not a strong issue with Wiki pages that can be edited and
fixed by human beings, it starts to become an issue with ticket comments:
the missing wiki tag - which is translated to an XHTML missing tag -
propagates across the whole ticket and may corrupt the whole page.
As ticket comments cannot be edited, the only current way to recover from
such a simple user mistake is to tweak the SQL DB ;-(
IMHO, Trac should ensure that such an error does not propagate outside a
comment, i.e. should always close any open tag along with the end of a
comment.
It is worth noting that when post-commit hooks are used -such as the one
from the `/contrib` dir- the user may not even notice than "his" wiki
syntax is not correct, as it is never rendered from his subversion client
(commit message).
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3232>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets