Created
December 12, 2018 15:35
-
-
Save DanyelMorales/b71049ec5ae7b9988397190e0afb72b4 to your computer and use it in GitHub Desktop.
Replace Linebreak with Unicode
This file contains 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
// Replace Linebreak with Unicode | |
block = block.replace(/\n/g, '\uffff'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment