Skip to content

Commit

Permalink
ul/bare, relref dropped for xref: #95
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jan 12, 2024
1 parent 12fb07f commit 5833d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/isodoc/ietf/cleanup_blocks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def sourcecode_cleanup(docxml)
s.children = to_xml(s.children).gsub(%r{<br/>\n}, "\n")
.gsub(%r{\s+(<t[ >])}, "\\1").gsub(%r{</t>\s+}, "</t>")
sourcecode_remove_markup(s)
s.children = "<![CDATA[#{HTMLEntities.new.decode(to_xml(s
.children).sub(/\A\n+/, ''))}]]>"
s.children = "<![CDATA[#{@c.decode(to_xml(s.children)
.sub(/\A\n+/, ''))}]]>"
end
end

Expand Down

0 comments on commit 5833d27

Please sign in to comment.