-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing improvements for #31 #32
Open
SL-Gundam
wants to merge
32
commits into
Elephant418:master
Choose a base branch
from
SL-Gundam:Parsing_Improvements
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
cee262f
Handle numeric argument values without quotes
SL-Gundam d0da9e0
Adjust fixInlineElementSpacing to not trigger for emptyTags
SL-Gundam d64cd74
Allow to disable adding the CSS class after the tag
SL-Gundam d2eeedc
Adjusted test case for this commit d0da9e0fae21d160bef3e6c16dbfd5d0fe…
SL-Gundam 6f40bcc
Fix URL difference on ending slash presence
SL-Gundam 56f4424
Handle unquoted attribute values
SL-Gundam ea771c3
Escape all * and _ instead of just 1 or 2
SL-Gundam e024197
Cleanup redundant spaces
SL-Gundam 9ab0dc9
One str_replace instead of three
SL-Gundam 6c9d979
Adjust testcase for ea771c3774deb13ee362ce08a55b76166c600f80
SL-Gundam eea8837
Add back the final rtrim that was removed in e0241971af582ba3cd6ec0d8…
SL-Gundam 55e5f54
Correct test case for e0241971af582ba3cd6ec0d8c6b82891ba9251b9
SL-Gundam 84d75cc
Merge branch 'master' into Parsing_Improvements
SL-Gundam 7a0f6a1
Change all html EOLs to line feeds
SL-Gundam e4a1f9b
flushLinebreaks added before handling text
SL-Gundam a72f108
Decreased the number of lineBreaks after blockelements
SL-Gundam 75cf897
Added ltrim for html content after closing p tag
SL-Gundam 552ba1b
Ignore Office namespace o:p tags
SL-Gundam 0bea029
Add function getescapeInText
SL-Gundam 475af00
Fix header markdown escaping
SL-Gundam dc77382
Add escaping for = markdown headers
SL-Gundam 27131ac
Add proper amount of slashes for escape regex's
SL-Gundam f6a3290
Correction incase the last attribute is unquoted
SL-Gundam 9efd59c
Replace with normal space
SL-Gundam fc34c27
Add more character to escapeInText
SL-Gundam 2c329f1
Merge branch 'master' of github.com:Elephant418/Markdownify into Pars…
SL-Gundam e4f91ce
Merge branch 'master' of github.com:Elephant418/Markdownify into Pars…
SL-Gundam fd6763e
Allow numbers in xmlns attributes names
SL-Gundam b9b3f41
Fix empty table tag
SL-Gundam 9623ae4
Correct indentation
SL-Gundam 7db946f
Fix PHP8.3 support
tzi 7c97008
Merge pull request #1 from Elephant418/fix-php8.3
SL-Gundam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: should this be
getEscapeInText
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the variables use a construction where the first word is not capped like here https://github.com/Elephant418/Markdownify/blob/master/src/Converter.php#L169 and here https://github.com/Elephant418/Markdownify/blob/master/src/Converter.php#L185
I kept the function name to adhere to the same name as the variable being retrieved. @tzi so far has not commented on this. But i think he will go over the code when I've finished all of my "improvements" and added the associated test cases per his request
So the short question is. Should the name of the function be 100% exactly the same as the variable being retrieved? or are there guidelines which decide the function name?