diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-02 18:19:30 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-02 18:19:30 +0200 |
commit | a4bfb9306343a0801a85cafb20896e2476b31d5c (patch) | |
tree | 6f8c964ecf645ee4b1a92c069b4a110a560be6ed /src/gmutil.h | |
parent | 5dac1beb7bd29604142988961d69ac2c17be1f86 (diff) |
Stripping the URL fragment
Lagrange will retain URL fragments when parsing gemtext, but will strip them when making requests or when a DocumentWidget's URL is set. This allows opening URLs with fragments in an external browser.
IssueID #128
Diffstat (limited to 'src/gmutil.h')
-rw-r--r-- | src/gmutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmutil.h b/src/gmutil.h index 3fd1268d..1caf2445 100644 --- a/src/gmutil.h +++ b/src/gmutil.h | |||
@@ -96,6 +96,7 @@ struct Impl_Url { | |||
96 | iRangecc port; | 96 | iRangecc port; |
97 | iRangecc path; | 97 | iRangecc path; |
98 | iRangecc query; | 98 | iRangecc query; |
99 | iRangecc fragment; | ||
99 | }; | 100 | }; |
100 | 101 | ||
101 | void init_Url (iUrl *, const iString *text); | 102 | void init_Url (iUrl *, const iString *text); |