diff --git a/asl_rulebook2/webapp/static/ASOP.js b/asl_rulebook2/webapp/static/ASOP.js index 5a33768..8013c7a 100644 --- a/asl_rulebook2/webapp/static/ASOP.js +++ b/asl_rulebook2/webapp/static/ASOP.js @@ -195,7 +195,11 @@ gMainApp.component( "asop", { return caption ; }, - fixupContent( content ) { return wrapExcBlocks( content ) ; }, + fixupContent( content ) { + content = content.replace( /{.+?}/, "$&" ) ; // nb: nested comments are written as {...} :-/ + content = wrapExcBlocks( content ) ; + return content ; + }, },