[Commits] [wesnoth/wesnoth] 274038: wmllint: change "usage of" magic comment to re.sea...
GitHub
noreply at github.com
Fri Apr 25 05:30:28 UTC 2014
Branch: refs/heads/1.12
Home: https://github.com/wesnoth/wesnoth
Commit: 2740384796dc494271ae04f7506cb2a51bc32e08
https://github.com/wesnoth/wesnoth/commit/2740384796dc494271ae04f7506cb2a51bc32e08
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-04-25 (Fri, 25 Apr 2014)
Changed paths:
M data/tools/wmllint
Log Message:
-----------
wmllint: change "usage of" magic comment to re.search
There seems no particular reason to require that this magic comment be at
the very beginning of the line, so why not switch from re.match to
re.search.
Also, update comments to reflect the fact that UtBS no longer uses this
magic comment.
A suggestion has been made to get rid of this magic comment now that UtBS
is no longer using it, but it may still be in use in some UMC somewhere.
Commit: 15899daee495632db398bc9deb5c72fa4b8aee5c
https://github.com/wesnoth/wesnoth/commit/15899daee495632db398bc9deb5c72fa4b8aee5c
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-04-25 (Fri, 25 Apr 2014)
Changed paths:
M data/tools/addon_manager/html.py
Log Message:
-----------
html.py: format add-on description for HTML
The description text does not get rendered very well on a webpage. One
solution might be to use pre-wrap/word-wrap in the CSS, but due to
differences between browsers, that's a can of worms (at least for me, I'm
not a web pro).
So, the not-so-elegant solution is to add <br/> to every line.
URLs are also not linked in the plain text. Although in modern browsers
you can select the text and right-click, it's still convenient to turn
them into actual links.
Compare: https://github.com/wesnoth/wesnoth/compare/0aebc80e5ed3...15899daee495
More information about the Commits
mailing list