Created
November 23, 2020 09:56
-
-
Save ricealexander/44e60b55db825682b170444504c2056f to your computer and use it in GitHub Desktop.
Grove Blockquotes do not preserve linebreaks within the quote. Here is a workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const quotes = document.querySelectorAll('.Quote blockquote') | |
for (const quote of quotes) { | |
quote.innerHTML = quote.innerHTML.replace('\n\n', '<br><br>') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment