diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-03-10 19:59:55 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-03-10 19:59:55 -0800 |
commit | a485c42d78d8bc819f7ad1bef137d54a324c5ea9 (patch) | |
tree | fc8c7494dd39b38de4526204a45a64099db67610 /src/Text/Pandoc/Readers/Markdown.hs | |
parent | 06a57b27a1367e7954efa38fde13376a7334e870 (diff) | |
download | pandoc-a485c42d78d8bc819f7ad1bef137d54a324c5ea9.tar.gz |
Fixed behavior of base tag.
+ If the base path does not end with slash, the last component
will be replaced. E.g. base = `http://example.com/foo`
combines with `bar.html` to give `http://example.com/bar.html`.
+ If the href begins with a slash, the whole path of the base
is replaced. E.g. base = `http://example.com/foo/` combines
with `/bar.html` to give `http://example.com/bar.html`.
Closes #2777.
Diffstat (limited to 'src/Text/Pandoc/Readers/Markdown.hs')
0 files changed, 0 insertions, 0 deletions