f8970941 by Leff Tubat

Fixed formatting

1 parent 50ef50e1
......@@ -193,7 +193,14 @@ function App() {
if (!matches) {
var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>'))
} else {
replaceTags = (parsedData.replace(':',':<code>').replace('<?','&#60;?').replace('?>','?&#62;').replace(/\n/g, '<br>'))
replaceTags = (parsedData
.replace(':',':<code>')
.replace('<?','&#60;?')
.replace('?>','?&#62;')
.replace(/\n/g, '<br>')
.replace(/\*\*(.*?)\*\*/g, '<b>$1</b>')
.replace(/###\s(.+)/g, '<h3>$1</h3>')
)
}
for (let i = 0; i < replaceTags.length; i++) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!