lib/metanorma/standoc/render.rb
Method html_extract_attributes
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def html_extract_attributes(node)
{
script: node.attr("script"),
bodyfont: node.attr("body-font"),
headerfont: node.attr("header-font"),
Method doc_extract_attributes
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def doc_extract_attributes(node)
attrs = {
script: node.attr("script"),
bodyfont: node.attr("body-font"),
headerfont: node.attr("header-font"),