diff options
Diffstat (limited to 'lib/kramdown/parser')
-rw-r--r-- | lib/kramdown/parser/atlassian_document_format.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kramdown/parser/atlassian_document_format.rb b/lib/kramdown/parser/atlassian_document_format.rb index d27697a59a6..5a481042b15 100644 --- a/lib/kramdown/parser/atlassian_document_format.rb +++ b/lib/kramdown/parser/atlassian_document_format.rb @@ -219,8 +219,8 @@ module Kramdown # opportunity to replace it later. Mention name can have # spaces, so double quote it mention_text = ast_node.dig('attrs', 'text')&.gsub('@', '') - mention_text = %Q("#{mention_text}") if mention_text&.include?(' ') - mention_text = %Q(@adf-mention:#{mention_text}) + mention_text = %("#{mention_text}") if mention_text&.include?(' ') + mention_text = %(@adf-mention:#{mention_text}) add_text(mention_text, element, :text) end |