27034_spacing
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -89,7 +89,7 @@ function App() { | ... | @@ -89,7 +89,7 @@ function App() { |
| 89 | const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi'); | 89 | const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi'); |
| 90 | const matches = parsedData.match(regex); | 90 | const matches = parsedData.match(regex); |
| 91 | if (!matches) { | 91 | if (!matches) { |
| 92 | var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>').replace(/\./g, '. ')) | 92 | var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>')) |
| 93 | } else { | 93 | } else { |
| 94 | replaceTags = (parsedData.replace(':',':<code>').replace('<?','<?').replace('?>','?>').replace(/\n/g, '<br>')) | 94 | replaceTags = (parsedData.replace(':',':<code>').replace('<?','<?').replace('?>','?>').replace(/\n/g, '<br>')) |
| 95 | } | 95 | } | ... | ... |
-
Please register or sign in to post a comment