[Commits] [wesnoth/wesnoth] b058f2: wmllint: change "usage of" magic comment to re.sea...
GitHub
noreply at github.com
Fri Apr 25 05:30:26 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b058f29d1e6b218d52813599a76112e47971a1a8
https://github.com/wesnoth/wesnoth/commit/b058f29d1e6b218d52813599a76112e47971a1a8
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: c85af755acfcdd32f9093ac2d2f353a2343597ca
https://github.com/wesnoth/wesnoth/commit/c85af755acfcdd32f9093ac2d2f353a2343597ca
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/83836b151671...c85af755acfc
More information about the Commits
mailing list