mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
use native glib::uri parser
This commit is contained in:
parent
3545d23f3f
commit
e8e46a6217
7 changed files with 72 additions and 126 deletions
|
|
@ -265,6 +265,21 @@ Glib::ustring Reader::Make::link(
|
|||
);
|
||||
}
|
||||
|
||||
/* @TODO
|
||||
|
||||
GError * error;
|
||||
|
||||
g_uri_resolve_relative(
|
||||
get_text().c_str(),
|
||||
get_text().c_str(),
|
||||
G_URI_FLAGS_NONE,
|
||||
&error
|
||||
);
|
||||
|
||||
if (NULL)
|
||||
|
||||
*/
|
||||
|
||||
return Glib::ustring::sprintf(
|
||||
"<a href=\"%s\" title=\"%s\">%s</a>\n",
|
||||
Glib::Markup::escape_text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue