Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Include REQUEST_URI into footnotes' hyperlinks.
This should make links work even if base href (in a page's header)
is not consistent with the REQUEST_URI .
If FOOTNOTES_WITHOUT_URI macro is defined while
compiling src/markdown_html.c then bare "#fragment"
hyperlinks (without REQUEST_URI ) are generated.
|
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | markdown-footnotes |
Files: | files | file ages | folders |
SHA3-256: |
2c1f8f3592ef00e0455edc476a84d8ae |
User & Date: | george 2022-02-16 22:11:44.792 |
Original Comment: | Include `REQUEST_URI` into footnotes' hyperlinks. This should make links work even if base href (in a page's header) is not consistent with the `REQUEST_URI`. If `FOOTNOTES_WITHOUT_URI` macro is defined while compiling `src/markdown_html.c` then bare "#fragment" hyperlinks (without `REQUEST_URI`) are generated. |
References
2022-04-20
| ||
11:39 | • Wiki page "branch/markdown-footnotes" ... (artifact: db11e160 user: drh) | |
Context
2022-02-16
| ||
23:08 | Make parsing slightly faster and fix a comment. No changes in functionality. ... (check-in: a36dd09d user: george tags: markdown-footnotes) | |
22:11 |
Include REQUEST_URI into footnotes' hyperlinks.
This should make links work even if base href (in a page's header)
is not consistent with the REQUEST_URI .
If FOOTNOTES_WITHOUT_URI macro is defined while
compiling src/markdown_html.c then bare "#fragment"
hyperlinks (without REQUEST_URI ) are generated.
...
(check-in: 2c1f8f35 user: george tags: markdown-footnotes)
| |
2022-02-14
| ||
23:32 |
Minor code refactoring: rename a temporary variable and utilize
matching_bracket_offset() one more time.
No changes in functionality.
...
(check-in: 5b845a07 user: george tags: markdown-footnotes)
| |
Changes
Changes to src/encode.c.
Changes to src/markdown_html.c.