-
Notifications
You must be signed in to change notification settings - Fork 3
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
Parser work #117
Parser work #117
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
==========================================
+ Coverage 98.34% 98.35% +0.01%
==========================================
Files 46 46
Lines 1327 1337 +10
==========================================
+ Hits 1305 1315 +10
Misses 22 22 ☔ View full report in Codecov by Sentry. |
@@ -7,7 +7,7 @@ class Title < Base | |||
|
|||
def initialize(content, level, options = {}) | |||
@level_int = level | |||
@level_int = level.length if level.is_a?(String) | |||
# @level_int = level.length - 1 if level.is_a?(String) |
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.
This has been discussed before on the tracker and needs to be kept as-is.
This PR is related to #52
This PR does the following:
Regarding rice-2023 document roundtripping: without this pull request, only 18 out of 48 files were parsed, meaning just 37% were processed, and 655 lines remained unparsed. Now, all 48 files are parsed without breaking, leaving only 104 lines unparsed. Adding all together, it used to be that 1,746 lines were unparsed before, so this pull request, as of today, makes a 94% reduction in unparsed lines.
Metanorma PR checklist