Skip to content
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

custom-charset for Private Use character codepoints: https://github.c… #541

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

opoudjis
Copy link
Contributor

@opoudjis opoudjis commented Nov 8, 2023

…om/metanorma/metanorma/issues/339

Metanorma PR checklist

@opoudjis opoudjis self-assigned this Nov 8, 2023
private

def extract_custom_charsets(docxml)
docxml.xpath(ns("//presentation-metadata/custom-charset-font")).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Place the . on the next line, together with the method name.

.to be_equivalent_to (presxml)
end


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra blank line detected.

</foreword></preface></standard-document>
INPUT
presxml = <<~OUTPUT
<standard-document xmlns="https://www.metanorma.org/ns/standoc" type="presentation">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 2 spaces for indentation in a heredoc.

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4f4579c) 95.44% compared to head (e072f4a) 95.45%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #541      +/-   ##
==========================================
+ Coverage   95.44%   95.45%   +0.01%     
==========================================
  Files          77       77              
  Lines        5287     5299      +12     
==========================================
+ Hits         5046     5058      +12     
  Misses        241      241              
Files Coverage Δ
lib/isodoc/presentation_function/inline.rb 98.71% <100.00%> (+0.21%) ⬆️
lib/isodoc/presentation_xml_convert.rb 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@opoudjis opoudjis merged commit 6933d17 into main Nov 8, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant