Warning, /education/cantor/thirdparty/discount-2.2.6-patched/tests/style.t is written in an unsupported language. File is not indexed.
0001 . tests/functions.sh 0002 0003 title "styles" 0004 0005 rc=0 0006 MARKDOWN_FLAGS= 0007 0008 try 'single line' '<style> ul {display:none;} </style>' '' 0009 0010 ASK='<style> 0011 ul {display:none;} 0012 </style>' 0013 0014 try 'multiple lines' "$ASK" '' 0015 0016 try 'unclosed' '<style>foo' '<p><style>foo</p>' 0017 0018 UNCLOSED='<style> 0019 text 0020 0021 text' 0022 0023 RESULT='<p><style> 0024 text</p> 0025 0026 <p>text</p>' 0027 0028 0029 try 'multiple lines unclosed' "$UNCLOSED" "$RESULT" 0030 0031 try -fnohtml 'unclosed with -fnohtml' '<style>foo' '<p><style>foo</p>' 0032 0033 try -fnostyle 'disabling style blocks' "$ASK" "$ASK" 0034 0035 summary $0 0036 exit $rc