lib/govuk_markdown/renderer.rb in govuk_markdown-0.3.0 vs lib/govuk_markdown/renderer.rb in govuk_markdown-0.4.0

- old
+ new

@@ -65,14 +65,9 @@ else raise "Unexpected type #{list_type.inspect}" end end - def link(link, title, content) - title_attribute = title.present? ? " title=\"#{title}\"" : "" - %(<a href="#{link}" class="govuk-link"#{title_attribute}>#{content}</a>) - end - def hrule <<~HTML <hr class="govuk-section-break govuk-section-break--xl govuk-section-break--visible"> HTML end