← Back to team overview

widelands-dev team mailing list archive

Re: Text formatting questions

 

The paragraphdivider and the listdivider you wrote in some branch both close a non-existing paragraph (i.e. they have </p> without preceding <p>). This is no good style I think. At the moment, there is no problem, but I fear it could break quite easily. Furthermore, they live a rather large gap (I have not yet tested your listdivider). I have two possibilities in my mind: Either introduce a "open_paragraph" which only opens one, or maybe I could rework the listitem function to return p(symbol .. text) instead of symbol .. text .. paragraphdivider. Thinking of it, the latter one might be the better option. Could that work?

-----Ursprüngliche Nachricht----- From: Fòram na Gàidhlig
Sent: Thursday, October 09, 2014 6:54 PM
To: widelands-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Widelands-dev] Text formatting questions

2) Good explanation. Maybe it helps with
https://bugs.launchpad.net/widelands/+bug/1366580

You'lll just have to add the paragraphdivider for now - I don't see any
other way of coding this at the moment.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~widelands-dev
More help : https://help.launchpad.net/ListHelp


Follow ups

References