]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Minor tweak to md pipeline so links dont open new tabs
authorAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 03:03:47 +0000 (12:33 +0930)
committerAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 03:03:47 +0000 (12:33 +0930)
app/services/markdown_renderer.rb

index 10671853fc8e69b327ef3d44ad65e4066ebd22dc..5b04217aa7234a3f6fe7791de58d65720bed7703 100644 (file)
@@ -3,7 +3,7 @@ class MarkdownRenderer
        options = {
          filter_html:     true,
          hard_wrap:       true,
-         link_attributes: { rel: 'nofollow', target: "_blank" },
+         link_attributes: { rel: 'nofollow' },
          space_after_headers: true,
          fenced_code_blocks: true
        }