Skip to content

Commit

Permalink
Fix for #2870
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjana-a11y committed Jul 8, 2022
1 parent 5d3da20 commit be6bef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/styling.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function getDirectiveTemplate (d, text, offset, options) {
const template = styling_templates[styling_map[d].name];
if (isQuoteDirective(d)) {
const newtext = text
.replace(/\n>/g, '\n') // Don't show the directive itself
.replace(/\n>/g, ' \n') // Don't show the directive itself
.replace(/\n$/, ''); // Trim line-break at the end
return template(newtext, offset, options);
} else {
Expand Down

0 comments on commit be6bef8

Please sign in to comment.