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

Refactor Presentation XML, terms: https://github.com/metanorma/isodoc… #324

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

opoudjis
Copy link
Contributor

@opoudjis opoudjis commented Jan 8, 2025

…/issues/630

Metanorma PR checklist

@opoudjis opoudjis self-assigned this Jan 8, 2025
elem.replace(l10n("<strong>#{@i18n.source}</strong>: #{sources}"))
end

def designation_boldface(desgn); end
Copy link

Choose a reason for hiding this comment

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

Use 2 (not 3) spaces for indentation.
Inconsistent indentation detected.

elem.children = l10n("<strong>#{@i18n.source}:</strong> " \
"#{to_xml(elem.children).strip}")
elem&.next_element&.name == "termsource" and elem.next = "; "
end

def termsource_label(elem, sources)
elem.replace(l10n("<strong>#{@i18n.source}</strong>: #{sources}"))
end
Copy link

Choose a reason for hiding this comment

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

end at 29, 4 is not aligned with def at 27, 7.

elem.children = l10n("<strong>#{@i18n.source}:</strong> " \
"#{to_xml(elem.children).strip}")
elem&.next_element&.name == "termsource" and elem.next = "; "
end

def termsource_label(elem, sources)
Copy link

Choose a reason for hiding this comment

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

Use 2 (not 3) spaces for indentation.
Inconsistent indentation detected.

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