Follow-up Comment #39, task #2874 (project savane):
> (utils_make_links is used in many places for simple strings,
> that cannot be surrounded by <p>)
Alright, that's a bug. However, please note that the current formatting is
kind of hackish, it just does the markup from within utils_make_links, that's
why the <p> tags are added.
In the release version, we would call utils_wiki_markup where appropriate
(i.e. replace the call to utils_make_links), and that function in turn should
call utils_make_links, not the other way round. This will enable us to have
the links converted where needed, without additional formatting applied, by
calling utils_make_links directly.
I've applied this hack so that we're able to see the effect of markup
working, without needing to change ~200 lines which call utils_make_links. As
you quite rightly pointed out, not every call to utils_make_links can
unconditionally be replaced by utils_wiki_markup, that's where this bug comes
from.
_______________________________________________________
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
[email protected]
https://mail.gna.org/listinfo/savane-dev