diff --git a/src/controller/room.php b/src/controller/room.php index 140fd1a..f5174bb 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -433,12 +433,19 @@ class Room $line ); + // Escape inline * + $line = preg_replace( + '/[*]{1}([^*]+)[*]{1}/', + '[*]$1[*]', + $line + ); + // Process each tag on line beginning foreach ( [ - '#', - '##', '###', + '##', + '#', '=>', '>', '*', @@ -457,13 +464,6 @@ class Room ); } - // Escape inline * - $line = preg_replace( - '/[*]{1}([^*]+)[*]{1}/', - '[*]$2[*]', - $line - ); - // Merge lines $lines[] = $line; }