Skip to content
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
cee262f
Handle numeric argument values without quotes
SL-Gundam Feb 3, 2018
d0da9e0
Adjust fixInlineElementSpacing to not trigger for emptyTags
SL-Gundam Feb 3, 2018
d64cd74
Allow to disable adding the CSS class after the tag
SL-Gundam Feb 4, 2018
d2eeedc
Adjusted test case for this commit d0da9e0fae21d160bef3e6c16dbfd5d0fe…
SL-Gundam Feb 4, 2018
6f40bcc
Fix URL difference on ending slash presence
SL-Gundam Feb 7, 2018
56f4424
Handle unquoted attribute values
SL-Gundam Feb 7, 2018
ea771c3
Escape all * and _ instead of just 1 or 2
SL-Gundam Feb 7, 2018
e024197
Cleanup redundant spaces
SL-Gundam Feb 9, 2018
9ab0dc9
One str_replace instead of three
SL-Gundam Feb 9, 2018
6c9d979
Adjust testcase for ea771c3774deb13ee362ce08a55b76166c600f80
SL-Gundam Feb 15, 2018
eea8837
Add back the final rtrim that was removed in e0241971af582ba3cd6ec0d8…
SL-Gundam Feb 15, 2018
55e5f54
Correct test case for e0241971af582ba3cd6ec0d8c6b82891ba9251b9
SL-Gundam Feb 15, 2018
84d75cc
Merge branch 'master' into Parsing_Improvements
SL-Gundam Feb 15, 2018
7a0f6a1
Change all html EOLs to line feeds
SL-Gundam Feb 17, 2018
e4a1f9b
flushLinebreaks added before handling text
SL-Gundam Feb 17, 2018
a72f108
Decreased the number of lineBreaks after blockelements
SL-Gundam Feb 17, 2018
75cf897
Added ltrim for html content after closing p tag
SL-Gundam Feb 17, 2018
552ba1b
Ignore Office namespace o:p tags
SL-Gundam Feb 26, 2018
0bea029
Add function getescapeInText
SL-Gundam Feb 27, 2018
475af00
Fix header markdown escaping
SL-Gundam Feb 27, 2018
dc77382
Add escaping for = markdown headers
SL-Gundam Feb 27, 2018
27131ac
Add proper amount of slashes for escape regex's
SL-Gundam Feb 27, 2018
f6a3290
Correction incase the last attribute is unquoted
SL-Gundam Mar 2, 2018
9efd59c
Replace   with normal space
SL-Gundam Mar 2, 2018
fc34c27
Add more character to escapeInText
SL-Gundam Mar 3, 2018
2c329f1
Merge branch 'master' of github.com:Elephant418/Markdownify into Pars…
SL-Gundam Feb 1, 2019
e4f91ce
Merge branch 'master' of github.com:Elephant418/Markdownify into Pars…
SL-Gundam Feb 23, 2019
fd6763e
Allow numbers in xmlns attributes names
SL-Gundam Jul 12, 2019
b9b3f41
Fix empty table tag
SL-Gundam May 1, 2020
9623ae4
Correct indentation
SL-Gundam May 1, 2020
7db946f
Fix PHP8.3 support
tzi Feb 23, 2024
7c97008
Merge pull request #1 from Elephant418/fix-php8.3
SL-Gundam Jun 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix URL difference on ending slash presence
  • Loading branch information
SL-Gundam committed Feb 7, 2018
commit 6f40bccfe86981f106c3407439fd732c45f43bb9
2 changes: 1 addition & 1 deletion src/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ protected function handleTag_a_converter($tag, $buffer)
return '[' . $buffer . ']()';
}

if ($buffer == $tag['href'] && empty($tag['title'])) {
if (rtrim($buffer, '/') == rtrim($tag['href'], '/') && empty($tag['title'])) {
// <http://example.com>
return '<' . $buffer . '>';
}
Expand Down