Follow-up Comment #7, task #2874 (project savane):
Well, the way I see it, we need a tag that means verbatim, which means that
the content of a message wont be altered. Links will be added whenever useful
(like "tracker #nnnn", or "http://url") but that's all.
And all previous items that are not cookbook items or "project description"
(as shown on projects main page) should be altered so their content is
considered as verbatim (we just have to put the verbatim things at the end
and begin of each comment and details).
We don't have to provide a formatting that is backward compatible with
text-only content, we just need to convert HTML whenever it was added as
HTML. Everything else must be added verbatim because in the mind of people
that submitted it, it was meant to be shown verbatim (and that's how it
worked until now).
Do you get my point?
For the verbatim tag, I think we surely need something verbose and unusual,
like
#verbatim#
bla bla
bla bla
#verbatim#
And for this, we should also update the css so the content is printed with
fixed-font and ideally that it is true verbatim - indentation would be
respected.
There's only one issue with that: true verbatim would not allow us to do html
for instance for replace "tracker #nnn" with a hyperlink. There's only two
options in this regard:
- doing only partial verbatim, keeping things in html allowing us
hyperlinks. Backward compatible without effort but break indentation and
makes our verbatim mode awkward
- doing true verbatim but having the update script that will add the
#verbatim# (whatever the string is, it is just an example) at the begin and
the end of items content also adding the same string before and after each
links -- I think this is likely to cause plenty of false positives
- doing true verbatim but having also a partialverbatim tag, that would not
be advertised but be the one that would be used by the update script, that
would simply add #partialverbatim# at the end and begin of each old item
content. This would tell to the wiki format function to be behave how savane
behave in until now, by altering content to put hyperlinks but not applying
wiki format.
The late option is the only sane option, IMHO.
Side note: details and comments content should be in "text-align: justify" as
soon as it's not inside #verbatim# or #partial verbatim#.
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=2874>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev