lib/metanorma/sectionsplit_links.rb
Class Sectionsplit
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Sectionsplit
def xref_preprocess(xml, _fileslookup, _identifier)
key = (0...8).map { rand(65..90).chr }.join # random string
xml.root["type"] = key # to force recognition of internal refs
# bookmarks etc as new id elements introduced in Presentation XML: