diff --git a/src/controller/room.php b/src/controller/room.php index 4e3aa6a..09c7ff6 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -595,10 +595,16 @@ class Room $line ); - // Escape inline * + // Escape inline $line = preg_replace( - '/[*]{1}([^*]+)[*]{1}/', - '[*]$1[*]', + [ + '/[*]{1}([^*]+)[*]{1}/', + '/[_]{1}([^*]+)[_]{1}/', + ], + [ + '[*]$1[*]', + '[_]$1[_]', + ], $line );