[Commits] [wesnoth/wesnoth] 6af2c1: Rewrite the link detection code
GitHub
noreply at github.com
Sat Nov 18 19:13:08 UTC 2017
Branch: refs/heads/rewrite-link-handling
Home: https://github.com/wesnoth/wesnoth
Commit: 6af2c1f9a63f9fde134988a28e9b43ac283f377e
https://github.com/wesnoth/wesnoth/commit/6af2c1f9a63f9fde134988a28e9b43ac283f377e
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2017-11-18 (Sat, 18 Nov 2017)
Changed paths:
M src/font/pango/hyperlink.hpp
M src/font/text.cpp
M src/font/text.hpp
Log Message:
-----------
Rewrite the link detection code
The previous code sometimes produced invalid Pango markup.
Instead of attempting to parse Pango markup, simply scan for links in the
raw text and replace them in Pango markup. This way there is no way to
accidentally break the markup.
More information about the Commits
mailing list