Follow-up Comment #56, task #2874 (project savane):

> Could we make sure that "----" is interpreted only if
> surrounded by blank lines? Is that doable?

Hm, I don't know if this is possible with the current code or if the function
would need to be modified. I can take a look, though.

However, this brings up a new interesting point to the discussion: The markup
function is intended to provide a nice formatting of texts, while at the same
time it must not destroy any content that (accidentally) matches our
formatting rules, see your example above.

This is quite difficult to solve, because *I* would expect four minus signs
"----" on a single line of their own to always display as a horizontal
ruler.

Obviously, *you* expect this *not* to happen, if the previous line contains
text (because you see it as some kind of underlining).

No matter how we decide now and code the markup function, one of us would be
quite surprised by the markup result. ;-)

So my idea to solve this would be to add a "preview" function that enables
users to see what their comment/news/whatever would actually look like after
going through our markup function. If needed, they could correct things with
the +nomarkup+ tags.

We could go even further and allow users to change their comments afterwards,
if no more comments have since been posted ... but that's maybe overkill, I
don't know (I'm just brainstorming currently).

    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?func=detailitem&item_id=2874>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
Savane-dev@gna.org
https://mail.gna.org/listinfo/savane-dev

Reply via email to