diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-01-18 19:22:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-01-18 19:22:19 +0000 |
commit | bde2df117499cb77cc0553de690dcdabdcc3c0b3 (patch) | |
tree | cc1a05d4d86f94715de0b9c0ee7b257d2369e012 /regress/usr.bin | |
parent | 10c92bef311a87543f0b2026f9acb6aa640f1cb0 (diff) |
Make HTML output more human readable by overhauling line break logic
around tags and by introducing some simple indentation.
No change of HTML semantics intended.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/char/space/zerowidth.out_html | 17 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/ascii.out_html | 65 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/invalid.out_html | 2 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/latin1.out_html | 257 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/latin1diff.out_html | 38 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/named.out_html | 446 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/namediff.out_html | 110 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/unicode/nogroff.out_html | 110 | ||||
-rwxr-xr-x | regress/usr.bin/mandoc/eqn/extract.pl | 1 |
9 files changed, 695 insertions, 351 deletions
diff --git a/regress/usr.bin/mandoc/char/space/zerowidth.out_html b/regress/usr.bin/mandoc/char/space/zerowidth.out_html index ac2ecf05af5..2ff8ab0d5b3 100644 --- a/regress/usr.bin/mandoc/char/space/zerowidth.out_html +++ b/regress/usr.bin/mandoc/char/space/zerowidth.out_html @@ -1,6 +1,11 @@ -BEGINTEST<br/> -zero width space \& between A and B: AB<br/> -hyphenation allowed \% between A and B: AB<br/> -half-narrow (1/12) space \^ between A and B: AB<br/> -narrow space (1/6) \| between A and B: AB<br/> -ENDTEST<br/> +BEGINTEST +<br/> +zero width space \& between A and B: AB +<br/> +hyphenation allowed \% between A and B: AB +<br/> +half-narrow (1/12) space \^ between A and B: AB +<br/> +narrow space (1/6) \| between A and B: AB +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/ascii.out_html b/regress/usr.bin/mandoc/char/unicode/ascii.out_html index 7812f417350..1f9453e17c2 100644 --- a/regress/usr.bin/mandoc/char/unicode/ascii.out_html +++ b/regress/usr.bin/mandoc/char/unicode/ascii.out_html @@ -1,22 +1,43 @@ -BEGINTEST<br/> -""" QUOTATION MARK<br/> -### NUMBER SIGN<br/> -$$$ DOLLAR SIGN<br/> -''' APOSTROPHE<br/> -+++ PLUS SIGN<br/> --- HYPHEN-MINUS<br/> -.. FULL STOP<br/> -/// SOLIDUS<br/> -=== EQUALS SIGN<br/> -@@@ COMMERCIAL AT<br/> -[[[ LEFT SQUARE BRACKET<br/> -\\\\ REVERSE SOLIDUS<br/> -]]] RIGHT SQUARE BRACKET<br/> -^^^^ CIRCUMFLEX ACCENT<br/> -___ LOW LINE<br/> -```` GRAVE ACCENT<br/> -{{{ LEFT CURLY BRACKET<br/> -|||| VERTICAL LINE<br/> -}}} RIGHT CURLY BRACKET<br/> -~~~~ TILDE<br/> -ENDTEST<br/> +BEGINTEST +<br/> +""" QUOTATION MARK +<br/> +### NUMBER SIGN +<br/> +$$$ DOLLAR SIGN +<br/> +''' APOSTROPHE +<br/> ++++ PLUS SIGN +<br/> +-- HYPHEN-MINUS +<br/> +.. FULL STOP +<br/> +/// SOLIDUS +<br/> +=== EQUALS SIGN +<br/> +@@@ COMMERCIAL AT +<br/> +[[[ LEFT SQUARE BRACKET +<br/> +\\\\ REVERSE SOLIDUS +<br/> +]]] RIGHT SQUARE BRACKET +<br/> +^^^^ CIRCUMFLEX ACCENT +<br/> +___ LOW LINE +<br/> +```` GRAVE ACCENT +<br/> +{{{ LEFT CURLY BRACKET +<br/> +|||| VERTICAL LINE +<br/> +}}} RIGHT CURLY BRACKET +<br/> +~~~~ TILDE +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/invalid.out_html b/regress/usr.bin/mandoc/char/unicode/invalid.out_html index e7e1cf956c6..6456d7283ca 100644 --- a/regress/usr.bin/mandoc/char/unicode/invalid.out_html +++ b/regress/usr.bin/mandoc/char/unicode/invalid.out_html @@ -5,4 +5,4 @@ too long: >..< too large: >..< trailing garbage: >< not unicode: >_.↑.⇑< -ENDTEST</pre> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_html b/regress/usr.bin/mandoc/char/unicode/latin1.out_html index 428a00d08af..45cc7578845 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_html +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_html @@ -1,86 +1,171 @@ -BEGINTEST<br/> -¢¢ CENT SIGN<br/> -¤¤ CURRENCY SIGN<br/> -¥¥ YEN SIGN<br/> -¦¦ BROKEN BAR<br/> -¨¨ DIAERESIS<br/> -©© COPYRIGHT SIGN<br/> -ª FEMININE ORDINAL INDICATOR<br/> -«« LEFT-POINTING DOUBLE ANGLE QUOTATION MARK<br/> -¬¬¬ NOT SIGN<br/> -­ SOFT HYPHEN<br/> -®® REGISTERED SIGN<br/> -±±± PLUS-MINUS SIGN<br/> -² SUPERSCRIPT TWO<br/> -³ SUPERSCRIPT THREE<br/> -´´´ ACUTE ACCENT<br/> -µµ MICRO SIGN<br/> -·· MIDDLE DOT<br/> -¸¸ CEDILLA<br/> -¹ SUPERSCRIPT ONE<br/> -º MASCULINE ORDINAL INDICATOR<br/> -»» RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK<br/> -¼¼ VULGAR FRACTION ONE QUARTER<br/> -½½ VULGAR FRACTION ONE HALF<br/> -¾¾ VULGAR FRACTION THREE QUARTERS<br/> -ÀÀ LATIN CAPITAL LETTER A WITH GRAVE<br/> -ÁÁ LATIN CAPITAL LETTER A WITH ACUTE<br/> - LATIN CAPITAL LETTER A WITH CIRCUMFLEX<br/> -Ãà LATIN CAPITAL LETTER A WITH TILDE<br/> -ÄÄ LATIN CAPITAL LETTER A WITH DIAERESIS<br/> -ÅÅ LATIN CAPITAL LETTER A WITH RING ABOVE<br/> -ÆÆ LATIN CAPITAL LETTER AE<br/> -ÇÇ LATIN CAPITAL LETTER C WITH CEDILLA<br/> -ÈÈ LATIN CAPITAL LETTER E WITH GRAVE<br/> -ÉÉ LATIN CAPITAL LETTER E WITH ACUTE<br/> -ÊÊ LATIN CAPITAL LETTER E WITH CIRCUMFLEX<br/> -ËË LATIN CAPITAL LETTER E WITH DIAERESIS<br/> -ÌÌ LATIN CAPITAL LETTER I WITH GRAVE<br/> -ÍÍ LATIN CAPITAL LETTER I WITH ACUTE<br/> -ÎÎ LATIN CAPITAL LETTER I WITH CIRCUMFLEX<br/> -ÏÏ LATIN CAPITAL LETTER I WITH DIAERESIS<br/> -ÐÐ LATIN CAPITAL LETTER ETH<br/> -ÑÑ LATIN CAPITAL LETTER N WITH TILDE<br/> -ÒÒ LATIN CAPITAL LETTER O WITH GRAVE<br/> -ÓÓ LATIN CAPITAL LETTER O WITH ACUTE<br/> -ÔÔ LATIN CAPITAL LETTER O WITH CIRCUMFLEX<br/> -ÕÕ LATIN CAPITAL LETTER O WITH TILDE<br/> -ÖÖ LATIN CAPITAL LETTER O WITH DIAERESIS<br/> -××× MULTIPLICATION SIGN<br/> -ØØ LATIN CAPITAL LETTER O WITH STROKE<br/> -ÙÙ LATIN CAPITAL LETTER U WITH GRAVE<br/> -ÚÚ LATIN CAPITAL LETTER U WITH ACUTE<br/> -ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX<br/> -ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS<br/> -Ý LATIN CAPITAL LETTER Y WITH ACUTE<br/> -àà LATIN SMALL LETTER A WITH GRAVE<br/> -áá LATIN SMALL LETTER A WITH ACUTE<br/> -ââ LATIN SMALL LETTER A WITH CIRCUMFLEX<br/> -ãã LATIN SMALL LETTER A WITH TILDE<br/> -ää LATIN SMALL LETTER A WITH DIAERESIS<br/> -åå LATIN SMALL LETTER A WITH RING ABOVE<br/> -ææ LATIN SMALL LETTER AE<br/> -çç LATIN SMALL LETTER C WITH CEDILLA<br/> -èè LATIN SMALL LETTER E WITH GRAVE<br/> -éé LATIN SMALL LETTER E WITH ACUTE<br/> -êê LATIN SMALL LETTER E WITH CIRCUMFLEX<br/> -ëë LATIN SMALL LETTER E WITH DIAERESIS<br/> -ìì LATIN SMALL LETTER I WITH GRAVE<br/> -íí LATIN SMALL LETTER I WITH ACUTE<br/> -îî LATIN SMALL LETTER I WITH CIRCUMFLEX<br/> -ïï LATIN SMALL LETTER I WITH DIAERESIS<br/> -ññ LATIN SMALL LETTER N WITH TILDE<br/> -òò LATIN SMALL LETTER O WITH GRAVE<br/> -óó LATIN SMALL LETTER O WITH ACUTE<br/> -ôô LATIN SMALL LETTER O WITH CIRCUMFLEX<br/> -õõ LATIN SMALL LETTER O WITH TILDE<br/> -öö LATIN SMALL LETTER O WITH DIAERESIS<br/> -÷÷÷ DIVISION SIGN<br/> -øø LATIN SMALL LETTER O WITH STROKE<br/> -ùù LATIN SMALL LETTER U WITH GRAVE<br/> -úú LATIN SMALL LETTER U WITH ACUTE<br/> -ûû LATIN SMALL LETTER U WITH CIRCUMFLEX<br/> -üü LATIN SMALL LETTER U WITH DIAERESIS<br/> -ý LATIN SMALL LETTER Y WITH ACUTE<br/> -ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS<br/> -ENDTEST<br/> +BEGINTEST +<br/> +¢¢ CENT SIGN +<br/> +¤¤ CURRENCY SIGN +<br/> +¥¥ YEN SIGN +<br/> +¦¦ BROKEN BAR +<br/> +¨¨ DIAERESIS +<br/> +©© COPYRIGHT SIGN +<br/> +ª FEMININE ORDINAL INDICATOR +<br/> +«« LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +<br/> +¬¬¬ NOT SIGN +<br/> +­ SOFT HYPHEN +<br/> +®® REGISTERED SIGN +<br/> +±±± PLUS-MINUS SIGN +<br/> +² SUPERSCRIPT TWO +<br/> +³ SUPERSCRIPT THREE +<br/> +´´´ ACUTE ACCENT +<br/> +µµ MICRO SIGN +<br/> +·· MIDDLE DOT +<br/> +¸¸ CEDILLA +<br/> +¹ SUPERSCRIPT ONE +<br/> +º MASCULINE ORDINAL INDICATOR +<br/> +»» RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +<br/> +¼¼ VULGAR FRACTION ONE QUARTER +<br/> +½½ VULGAR FRACTION ONE HALF +<br/> +¾¾ VULGAR FRACTION THREE QUARTERS +<br/> +ÀÀ LATIN CAPITAL LETTER A WITH GRAVE +<br/> +ÁÁ LATIN CAPITAL LETTER A WITH ACUTE +<br/> + LATIN CAPITAL LETTER A WITH CIRCUMFLEX +<br/> +Ãà LATIN CAPITAL LETTER A WITH TILDE +<br/> +ÄÄ LATIN CAPITAL LETTER A WITH DIAERESIS +<br/> +ÅÅ LATIN CAPITAL LETTER A WITH RING ABOVE +<br/> +ÆÆ LATIN CAPITAL LETTER AE +<br/> +ÇÇ LATIN CAPITAL LETTER C WITH CEDILLA +<br/> +ÈÈ LATIN CAPITAL LETTER E WITH GRAVE +<br/> +ÉÉ LATIN CAPITAL LETTER E WITH ACUTE +<br/> +ÊÊ LATIN CAPITAL LETTER E WITH CIRCUMFLEX +<br/> +ËË LATIN CAPITAL LETTER E WITH DIAERESIS +<br/> +ÌÌ LATIN CAPITAL LETTER I WITH GRAVE +<br/> +ÍÍ LATIN CAPITAL LETTER I WITH ACUTE +<br/> +ÎÎ LATIN CAPITAL LETTER I WITH CIRCUMFLEX +<br/> +ÏÏ LATIN CAPITAL LETTER I WITH DIAERESIS +<br/> +ÐÐ LATIN CAPITAL LETTER ETH +<br/> +ÑÑ LATIN CAPITAL LETTER N WITH TILDE +<br/> +ÒÒ LATIN CAPITAL LETTER O WITH GRAVE +<br/> +ÓÓ LATIN CAPITAL LETTER O WITH ACUTE +<br/> +ÔÔ LATIN CAPITAL LETTER O WITH CIRCUMFLEX +<br/> +ÕÕ LATIN CAPITAL LETTER O WITH TILDE +<br/> +ÖÖ LATIN CAPITAL LETTER O WITH DIAERESIS +<br/> +××× MULTIPLICATION SIGN +<br/> +ØØ LATIN CAPITAL LETTER O WITH STROKE +<br/> +ÙÙ LATIN CAPITAL LETTER U WITH GRAVE +<br/> +ÚÚ LATIN CAPITAL LETTER U WITH ACUTE +<br/> +ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX +<br/> +ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS +<br/> +Ý LATIN CAPITAL LETTER Y WITH ACUTE +<br/> +àà LATIN SMALL LETTER A WITH GRAVE +<br/> +áá LATIN SMALL LETTER A WITH ACUTE +<br/> +ââ LATIN SMALL LETTER A WITH CIRCUMFLEX +<br/> +ãã LATIN SMALL LETTER A WITH TILDE +<br/> +ää LATIN SMALL LETTER A WITH DIAERESIS +<br/> +åå LATIN SMALL LETTER A WITH RING ABOVE +<br/> +ææ LATIN SMALL LETTER AE +<br/> +çç LATIN SMALL LETTER C WITH CEDILLA +<br/> +èè LATIN SMALL LETTER E WITH GRAVE +<br/> +éé LATIN SMALL LETTER E WITH ACUTE +<br/> +êê LATIN SMALL LETTER E WITH CIRCUMFLEX +<br/> +ëë LATIN SMALL LETTER E WITH DIAERESIS +<br/> +ìì LATIN SMALL LETTER I WITH GRAVE +<br/> +íí LATIN SMALL LETTER I WITH ACUTE +<br/> +îî LATIN SMALL LETTER I WITH CIRCUMFLEX +<br/> +ïï LATIN SMALL LETTER I WITH DIAERESIS +<br/> +ññ LATIN SMALL LETTER N WITH TILDE +<br/> +òò LATIN SMALL LETTER O WITH GRAVE +<br/> +óó LATIN SMALL LETTER O WITH ACUTE +<br/> +ôô LATIN SMALL LETTER O WITH CIRCUMFLEX +<br/> +õõ LATIN SMALL LETTER O WITH TILDE +<br/> +öö LATIN SMALL LETTER O WITH DIAERESIS +<br/> +÷÷÷ DIVISION SIGN +<br/> +øø LATIN SMALL LETTER O WITH STROKE +<br/> +ùù LATIN SMALL LETTER U WITH GRAVE +<br/> +úú LATIN SMALL LETTER U WITH ACUTE +<br/> +ûû LATIN SMALL LETTER U WITH CIRCUMFLEX +<br/> +üü LATIN SMALL LETTER U WITH DIAERESIS +<br/> +ý LATIN SMALL LETTER Y WITH ACUTE +<br/> +ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html index cf064d60261..fa1a48657da 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html +++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html @@ -1,13 +1,25 @@ -BEGINTEST<br/> -¡¡ INVERTED EXCLAMATION MARK<br/> -££ POUND SIGN<br/> -§§ SECTION SIGN<br/> -¯¯ MACRON<br/> -°° DEGREE SIGN<br/> -¶¶ PILCROW SIGN<br/> -¿¿ INVERTED QUESTION MARK<br/> -ÞÞ LATIN CAPITAL LETTER THORN<br/> -ßß LATIN SMALL LETTER SHARP S<br/> -ðð LATIN SMALL LETTER ETH<br/> -þþ LATIN SMALL LETTER THORN<br/> -ENDTEST<br/> +BEGINTEST +<br/> +¡¡ INVERTED EXCLAMATION MARK +<br/> +££ POUND SIGN +<br/> +§§ SECTION SIGN +<br/> +¯¯ MACRON +<br/> +°° DEGREE SIGN +<br/> +¶¶ PILCROW SIGN +<br/> +¿¿ INVERTED QUESTION MARK +<br/> +ÞÞ LATIN CAPITAL LETTER THORN +<br/> +ßß LATIN SMALL LETTER SHARP S +<br/> +ðð LATIN SMALL LETTER ETH +<br/> +þþ LATIN SMALL LETTER THORN +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_html b/regress/usr.bin/mandoc/char/unicode/named.out_html index 00531947464..8ee47dbf77b 100644 --- a/regress/usr.bin/mandoc/char/unicode/named.out_html +++ b/regress/usr.bin/mandoc/char/unicode/named.out_html @@ -1,149 +1,297 @@ -BEGINTEST<br/> -ıı LATIN SMALL LETTER DOTLESS I<br/> -IJIJ LATIN CAPITAL LIGATURE IJ<br/> -ijij LATIN SMALL LIGATURE IJ<br/> -ŁŁ LATIN CAPITAL LETTER L WITH STROKE<br/> -łł LATIN SMALL LETTER L WITH STROKE<br/> -ŒŒ LATIN CAPITAL LIGATURE OE<br/> -œœ LATIN SMALL LIGATURE OE<br/> -ƒƒ LATIN SMALL LETTER F WITH HOOK<br/> -ˇˇ CARON<br/> -˘˘ BREVE<br/> -˚˚ RING ABOVE<br/> -˛˛ OGONEK<br/> -˝˝ DOUBLE ACUTE ACCENT<br/> -ΑΑ GREEK CAPITAL LETTER ALPHA<br/> -ΒΒ GREEK CAPITAL LETTER BETA<br/> -ΔΔ GREEK CAPITAL LETTER DELTA<br/> -ΕΕ GREEK CAPITAL LETTER EPSILON<br/> -ΖΖ GREEK CAPITAL LETTER ZETA<br/> -ΗΗ GREEK CAPITAL LETTER ETA<br/> -ΘΘ GREEK CAPITAL LETTER THETA<br/> -ΙΙ GREEK CAPITAL LETTER IOTA<br/> -ΚΚ GREEK CAPITAL LETTER KAPPA<br/> -ΛΛ GREEK CAPITAL LETTER LAMDA<br/> -ΜΜ GREEK CAPITAL LETTER MU<br/> -ΝΝ GREEK CAPITAL LETTER NU<br/> -ΞΞ GREEK CAPITAL LETTER XI<br/> -ΟΟ GREEK CAPITAL LETTER OMICRON<br/> -ΠΠ GREEK CAPITAL LETTER PI<br/> -ΡΡ GREEK CAPITAL LETTER RHO<br/> -ΤΤ GREEK CAPITAL LETTER TAU<br/> -ΥΥ GREEK CAPITAL LETTER UPSILON<br/> -ΦΦ GREEK CAPITAL LETTER PHI<br/> -ΧΧ GREEK CAPITAL LETTER CHI<br/> -ΨΨ GREEK CAPITAL LETTER PSI<br/> -ΩΩ GREEK CAPITAL LETTER OMEGA<br/> -αα GREEK SMALL LETTER ALPHA<br/> -ββ GREEK SMALL LETTER BETA<br/> -γγ GREEK SMALL LETTER GAMMA<br/> -δδ GREEK SMALL LETTER DELTA<br/> -εε GREEK SMALL LETTER EPSILON<br/> -ζζ GREEK SMALL LETTER ZETA<br/> -ηη GREEK SMALL LETTER ETA<br/> -θθ GREEK SMALL LETTER THETA<br/> -ιι GREEK SMALL LETTER IOTA<br/> -κκ GREEK SMALL LETTER KAPPA<br/> -λλ GREEK SMALL LETTER LAMDA<br/> -μμ GREEK SMALL LETTER MU<br/> -νν GREEK SMALL LETTER NU<br/> -ξξ GREEK SMALL LETTER XI<br/> -οο GREEK SMALL LETTER OMICRON<br/> -ππ GREEK SMALL LETTER PI<br/> -ρρ GREEK SMALL LETTER RHO<br/> -ςς GREEK SMALL LETTER FINAL SIGMA<br/> -σσ GREEK SMALL LETTER SIGMA<br/> -ττ GREEK SMALL LETTER TAU<br/> -υυ GREEK SMALL LETTER UPSILON<br/> -φφ GREEK SMALL LETTER PHI<br/> -χχ GREEK SMALL LETTER CHI<br/> -ψψ GREEK SMALL LETTER PSI<br/> -ωω GREEK SMALL LETTER OMEGA<br/> -ϑϑ GREEK THETA SYMBOL<br/> -ϕϕ GREEK PHI SYMBOL<br/> -ϖϖ GREEK PI SYMBOL<br/> -ϵϵ GREEK LUNATE EPSILON SYMBOL<br/> -‐‐ HYPHEN<br/> -–– EN DASH<br/> -—— EM DASH<br/> -‘‘ LEFT SINGLE QUOTATION MARK<br/> -’’ RIGHT SINGLE QUOTATION MARK<br/> -‚‚ SINGLE LOW-9 QUOTATION MARK<br/> -““ LEFT DOUBLE QUOTATION MARK<br/> -”” RIGHT DOUBLE QUOTATION MARK<br/> -„„ DOUBLE LOW-9 QUOTATION MARK<br/> -†† DAGGER<br/> -‡‡ DOUBLE DAGGER<br/> -•• BULLET<br/> -‰‰ PER MILLE SIGN<br/> -′′ PRIME<br/> -″″ DOUBLE PRIME<br/> -‹‹ SINGLE LEFT-POINTING ANGLE QUOTATION MARK<br/> -›› SINGLE RIGHT-POINTING ANGLE QUOTATION MARK<br/> -⁄⁄ FRACTION SLASH<br/> -€€€ EURO SIGN<br/> -ℑℑ BLACK-LETTER CAPITAL I<br/> -ℜℜ BLACK-LETTER CAPITAL R<br/> -™™ TRADE MARK SIGN<br/> -ℵℵ ALEF SYMBOL<br/> -←← LEFTWARDS ARROW<br/> -↑↑ UPWARDS ARROW<br/> -→→ RIGHTWARDS ARROW<br/> -↓↓ DOWNWARDS ARROW<br/> -↔↔ LEFT RIGHT ARROW<br/> -↵↵ DOWNWARDS ARROW WITH CORNER LEFTWARDS<br/> -⇐⇐ LEFTWARDS DOUBLE ARROW<br/> -⇑⇑ UPWARDS DOUBLE ARROW<br/> -⇒⇒ RIGHTWARDS DOUBLE ARROW<br/> -⇓⇓ DOWNWARDS DOUBLE ARROW<br/> -⇔⇔ LEFT RIGHT DOUBLE ARROW<br/> -∀∀ FOR ALL<br/> -∂∂ PARTIAL DIFFERENTIAL<br/> -∃∃ THERE EXISTS<br/> -∅∅ EMPTY SET<br/> -∈∈ ELEMENT OF<br/> -∋∋ CONTAINS AS MEMBER<br/> -−− MINUS SIGN<br/> -∓∓ MINUS-OR-PLUS SIGN<br/> -∗∗ ASTERISK OPERATOR<br/> -√√ SQUARE ROOT<br/> -∝∝ PROPORTIONAL TO<br/> -∞∞ INFINITY<br/> -∠∠ ANGLE<br/> -∧∧ LOGICAL AND<br/> -∨∨ LOGICAL OR<br/> -∩∩ INTERSECTION<br/> -∪∪ UNION<br/> -∫∫ INTEGRAL<br/> -∴∴∴ THEREFORE<br/> -∼∼ TILDE OPERATOR<br/> -≃≃ ASYMPTOTICALLY EQUAL TO<br/> -≅≅ APPROXIMATELY EQUAL TO<br/> -≈≈≈ ALMOST EQUAL TO<br/> -≠≠ NOT EQUAL TO<br/> -≡≡ IDENTICAL TO<br/> -≢≢ NOT IDENTICAL TO<br/> -≤≤ LESS-THAN OR EQUAL TO<br/> -≥≥ GREATER-THAN OR EQUAL TO<br/> -⊂⊂ SUBSET OF<br/> -⊃⊃ SUPERSET OF<br/> -⊆⊆ SUBSET OF OR EQUAL TO<br/> -⊇⊇ SUPERSET OF OR EQUAL TO<br/> -⊕⊕ CIRCLED PLUS<br/> -⊗⊗ CIRCLED TIMES<br/> -⊥⊥ UP TACK<br/> -⋅⋅ DOT OPERATOR<br/> -⌈⌈ LEFT CEILING<br/> -⌉⌉ RIGHT CEILING<br/> -⌊⌊ LEFT FLOOR<br/> -⌋⌋ RIGHT FLOOR<br/> -⎪⎪ CURLY BRACKET EXTENSION<br/> -││ BOX DRAWINGS LIGHT VERTICAL<br/> -□□ WHITE SQUARE<br/> -◊◊ LOZENGE<br/> -○○ WHITE CIRCLE<br/> -☜☜ WHITE LEFT POINTING INDEX<br/> -☞☞ WHITE RIGHT POINTING INDEX<br/> -⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET<br/> -⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET<br/> -ENDTEST<br/> +BEGINTEST +<br/> +ıı LATIN SMALL LETTER DOTLESS I +<br/> +IJIJ LATIN CAPITAL LIGATURE IJ +<br/> +ijij LATIN SMALL LIGATURE IJ +<br/> +ŁŁ LATIN CAPITAL LETTER L WITH STROKE +<br/> +łł LATIN SMALL LETTER L WITH STROKE +<br/> +ŒŒ LATIN CAPITAL LIGATURE OE +<br/> +œœ LATIN SMALL LIGATURE OE +<br/> +ƒƒ LATIN SMALL LETTER F WITH HOOK +<br/> +ˇˇ CARON +<br/> +˘˘ BREVE +<br/> +˚˚ RING ABOVE +<br/> +˛˛ OGONEK +<br/> +˝˝ DOUBLE ACUTE ACCENT +<br/> +ΑΑ GREEK CAPITAL LETTER ALPHA +<br/> +ΒΒ GREEK CAPITAL LETTER BETA +<br/> +ΔΔ GREEK CAPITAL LETTER DELTA +<br/> +ΕΕ GREEK CAPITAL LETTER EPSILON +<br/> +ΖΖ GREEK CAPITAL LETTER ZETA +<br/> +ΗΗ GREEK CAPITAL LETTER ETA +<br/> +ΘΘ GREEK CAPITAL LETTER THETA +<br/> +ΙΙ GREEK CAPITAL LETTER IOTA +<br/> +ΚΚ GREEK CAPITAL LETTER KAPPA +<br/> +ΛΛ GREEK CAPITAL LETTER LAMDA +<br/> +ΜΜ GREEK CAPITAL LETTER MU +<br/> +ΝΝ GREEK CAPITAL LETTER NU +<br/> +ΞΞ GREEK CAPITAL LETTER XI +<br/> +ΟΟ GREEK CAPITAL LETTER OMICRON +<br/> +ΠΠ GREEK CAPITAL LETTER PI +<br/> +ΡΡ GREEK CAPITAL LETTER RHO +<br/> +ΤΤ GREEK CAPITAL LETTER TAU +<br/> +ΥΥ GREEK CAPITAL LETTER UPSILON +<br/> +ΦΦ GREEK CAPITAL LETTER PHI +<br/> +ΧΧ GREEK CAPITAL LETTER CHI +<br/> +ΨΨ GREEK CAPITAL LETTER PSI +<br/> +ΩΩ GREEK CAPITAL LETTER OMEGA +<br/> +αα GREEK SMALL LETTER ALPHA +<br/> +ββ GREEK SMALL LETTER BETA +<br/> +γγ GREEK SMALL LETTER GAMMA +<br/> +δδ GREEK SMALL LETTER DELTA +<br/> +εε GREEK SMALL LETTER EPSILON +<br/> +ζζ GREEK SMALL LETTER ZETA +<br/> +ηη GREEK SMALL LETTER ETA +<br/> +θθ GREEK SMALL LETTER THETA +<br/> +ιι GREEK SMALL LETTER IOTA +<br/> +κκ GREEK SMALL LETTER KAPPA +<br/> +λλ GREEK SMALL LETTER LAMDA +<br/> +μμ GREEK SMALL LETTER MU +<br/> +νν GREEK SMALL LETTER NU +<br/> +ξξ GREEK SMALL LETTER XI +<br/> +οο GREEK SMALL LETTER OMICRON +<br/> +ππ GREEK SMALL LETTER PI +<br/> +ρρ GREEK SMALL LETTER RHO +<br/> +ςς GREEK SMALL LETTER FINAL SIGMA +<br/> +σσ GREEK SMALL LETTER SIGMA +<br/> +ττ GREEK SMALL LETTER TAU +<br/> +υυ GREEK SMALL LETTER UPSILON +<br/> +φφ GREEK SMALL LETTER PHI +<br/> +χχ GREEK SMALL LETTER CHI +<br/> +ψψ GREEK SMALL LETTER PSI +<br/> +ωω GREEK SMALL LETTER OMEGA +<br/> +ϑϑ GREEK THETA SYMBOL +<br/> +ϕϕ GREEK PHI SYMBOL +<br/> +ϖϖ GREEK PI SYMBOL +<br/> +ϵϵ GREEK LUNATE EPSILON SYMBOL +<br/> +‐‐ HYPHEN +<br/> +–– EN DASH +<br/> +—— EM DASH +<br/> +‘‘ LEFT SINGLE QUOTATION MARK +<br/> +’’ RIGHT SINGLE QUOTATION MARK +<br/> +‚‚ SINGLE LOW-9 QUOTATION MARK +<br/> +““ LEFT DOUBLE QUOTATION MARK +<br/> +”” RIGHT DOUBLE QUOTATION MARK +<br/> +„„ DOUBLE LOW-9 QUOTATION MARK +<br/> +†† DAGGER +<br/> +‡‡ DOUBLE DAGGER +<br/> +•• BULLET +<br/> +‰‰ PER MILLE SIGN +<br/> +′′ PRIME +<br/> +″″ DOUBLE PRIME +<br/> +‹‹ SINGLE LEFT-POINTING ANGLE QUOTATION MARK +<br/> +›› SINGLE RIGHT-POINTING ANGLE QUOTATION MARK +<br/> +⁄⁄ FRACTION SLASH +<br/> +€€€ EURO SIGN +<br/> +ℑℑ BLACK-LETTER CAPITAL I +<br/> +ℜℜ BLACK-LETTER CAPITAL R +<br/> +™™ TRADE MARK SIGN +<br/> +ℵℵ ALEF SYMBOL +<br/> +←← LEFTWARDS ARROW +<br/> +↑↑ UPWARDS ARROW +<br/> +→→ RIGHTWARDS ARROW +<br/> +↓↓ DOWNWARDS ARROW +<br/> +↔↔ LEFT RIGHT ARROW +<br/> +↵↵ DOWNWARDS ARROW WITH CORNER LEFTWARDS +<br/> +⇐⇐ LEFTWARDS DOUBLE ARROW +<br/> +⇑⇑ UPWARDS DOUBLE ARROW +<br/> +⇒⇒ RIGHTWARDS DOUBLE ARROW +<br/> +⇓⇓ DOWNWARDS DOUBLE ARROW +<br/> +⇔⇔ LEFT RIGHT DOUBLE ARROW +<br/> +∀∀ FOR ALL +<br/> +∂∂ PARTIAL DIFFERENTIAL +<br/> +∃∃ THERE EXISTS +<br/> +∅∅ EMPTY SET +<br/> +∈∈ ELEMENT OF +<br/> +∋∋ CONTAINS AS MEMBER +<br/> +−− MINUS SIGN +<br/> +∓∓ MINUS-OR-PLUS SIGN +<br/> +∗∗ ASTERISK OPERATOR +<br/> +√√ SQUARE ROOT +<br/> +∝∝ PROPORTIONAL TO +<br/> +∞∞ INFINITY +<br/> +∠∠ ANGLE +<br/> +∧∧ LOGICAL AND +<br/> +∨∨ LOGICAL OR +<br/> +∩∩ INTERSECTION +<br/> +∪∪ UNION +<br/> +∫∫ INTEGRAL +<br/> +∴∴∴ THEREFORE +<br/> +∼∼ TILDE OPERATOR +<br/> +≃≃ ASYMPTOTICALLY EQUAL TO +<br/> +≅≅ APPROXIMATELY EQUAL TO +<br/> +≈≈≈ ALMOST EQUAL TO +<br/> +≠≠ NOT EQUAL TO +<br/> +≡≡ IDENTICAL TO +<br/> +≢≢ NOT IDENTICAL TO +<br/> +≤≤ LESS-THAN OR EQUAL TO +<br/> +≥≥ GREATER-THAN OR EQUAL TO +<br/> +⊂⊂ SUBSET OF +<br/> +⊃⊃ SUPERSET OF +<br/> +⊆⊆ SUBSET OF OR EQUAL TO +<br/> +⊇⊇ SUPERSET OF OR EQUAL TO +<br/> +⊕⊕ CIRCLED PLUS +<br/> +⊗⊗ CIRCLED TIMES +<br/> +⊥⊥ UP TACK +<br/> +⋅⋅ DOT OPERATOR +<br/> +⌈⌈ LEFT CEILING +<br/> +⌉⌉ RIGHT CEILING +<br/> +⌊⌊ LEFT FLOOR +<br/> +⌋⌋ RIGHT FLOOR +<br/> +⎪⎪ CURLY BRACKET EXTENSION +<br/> +││ BOX DRAWINGS LIGHT VERTICAL +<br/> +□□ WHITE SQUARE +<br/> +◊◊ LOZENGE +<br/> +○○ WHITE CIRCLE +<br/> +☜☜ WHITE LEFT POINTING INDEX +<br/> +☞☞ WHITE RIGHT POINTING INDEX +<br/> +⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET +<br/> +⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_html b/regress/usr.bin/mandoc/char/unicode/namediff.out_html index 17fb5c8ef94..6c4946295ba 100644 --- a/regress/usr.bin/mandoc/char/unicode/namediff.out_html +++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_html @@ -1,37 +1,73 @@ -BEGINTEST<br/> -ȷȷ LATIN SMALL LETTER DOTLESS J<br/> -˙˙ DOT ABOVE<br/> -ΓΓ GREEK CAPITAL LETTER GAMMA<br/> -ΣΣ GREEK CAPITAL LETTER SIGMA<br/> -‾‾ OVERLINE<br/> -ℏℏ PLANCK CONSTANT OVER TWO PI<br/> -↕↕ UP DOWN ARROW<br/> -⇕⇕ UP DOWN DOUBLE ARROW<br/> -∇∇ NABLA<br/> -∉∉ NOT AN ELEMENT OF<br/> -∏∏ N-ARY PRODUCT<br/> -∐∐ N-ARY COPRODUCT<br/> -∑∑ N-ARY SUMMATION<br/> -⊄⊄ NOT A SUBSET OF<br/> -⊅⊅ NOT A SUPERSET OF<br/> -⎛⎛ LEFT PARENTHESIS UPPER HOOK<br/> -⎜⎜ LEFT PARENTHESIS EXTENSION<br/> -⎝⎝ LEFT PARENTHESIS LOWER HOOK<br/> -⎞⎞ RIGHT PARENTHESIS UPPER HOOK<br/> -⎟⎟ RIGHT PARENTHESIS EXTENSION<br/> -⎠⎠ RIGHT PARENTHESIS LOWER HOOK<br/> -⎡⎡ LEFT SQUARE BRACKET UPPER CORNER<br/> -⎢⎢ LEFT SQUARE BRACKET EXTENSION<br/> -⎣⎣ LEFT SQUARE BRACKET LOWER CORNER<br/> -⎤⎤ RIGHT SQUARE BRACKET UPPER CORNER<br/> -⎥⎥ RIGHT SQUARE BRACKET EXTENSION<br/> -⎦⎦ RIGHT SQUARE BRACKET LOWER CORNER<br/> -⎧⎧ LEFT CURLY BRACKET UPPER HOOK<br/> -⎨⎨ LEFT CURLY BRACKET MIDDLE PIECE<br/> -⎩⎩ LEFT CURLY BRACKET LOWER HOOK<br/> -⎪⎪⎪⎪ CURLY BRACKET EXTENSION<br/> -⎫⎫ RIGHT CURLY BRACKET UPPER HOOK<br/> -⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE<br/> -⎭⎭ RIGHT CURLY BRACKET LOWER HOOK<br/> -✓✓ CHECK MARK<br/> -ENDTEST<br/> +BEGINTEST +<br/> +ȷȷ LATIN SMALL LETTER DOTLESS J +<br/> +˙˙ DOT ABOVE +<br/> +ΓΓ GREEK CAPITAL LETTER GAMMA +<br/> +ΣΣ GREEK CAPITAL LETTER SIGMA +<br/> +‾‾ OVERLINE +<br/> +ℏℏ PLANCK CONSTANT OVER TWO PI +<br/> +↕↕ UP DOWN ARROW +<br/> +⇕⇕ UP DOWN DOUBLE ARROW +<br/> +∇∇ NABLA +<br/> +∉∉ NOT AN ELEMENT OF +<br/> +∏∏ N-ARY PRODUCT +<br/> +∐∐ N-ARY COPRODUCT +<br/> +∑∑ N-ARY SUMMATION +<br/> +⊄⊄ NOT A SUBSET OF +<br/> +⊅⊅ NOT A SUPERSET OF +<br/> +⎛⎛ LEFT PARENTHESIS UPPER HOOK +<br/> +⎜⎜ LEFT PARENTHESIS EXTENSION +<br/> +⎝⎝ LEFT PARENTHESIS LOWER HOOK +<br/> +⎞⎞ RIGHT PARENTHESIS UPPER HOOK +<br/> +⎟⎟ RIGHT PARENTHESIS EXTENSION +<br/> +⎠⎠ RIGHT PARENTHESIS LOWER HOOK +<br/> +⎡⎡ LEFT SQUARE BRACKET UPPER CORNER +<br/> +⎢⎢ LEFT SQUARE BRACKET EXTENSION +<br/> +⎣⎣ LEFT SQUARE BRACKET LOWER CORNER +<br/> +⎤⎤ RIGHT SQUARE BRACKET UPPER CORNER +<br/> +⎥⎥ RIGHT SQUARE BRACKET EXTENSION +<br/> +⎦⎦ RIGHT SQUARE BRACKET LOWER CORNER +<br/> +⎧⎧ LEFT CURLY BRACKET UPPER HOOK +<br/> +⎨⎨ LEFT CURLY BRACKET MIDDLE PIECE +<br/> +⎩⎩ LEFT CURLY BRACKET LOWER HOOK +<br/> +⎪⎪⎪⎪ CURLY BRACKET EXTENSION +<br/> +⎫⎫ RIGHT CURLY BRACKET UPPER HOOK +<br/> +⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE +<br/> +⎭⎭ RIGHT CURLY BRACKET LOWER HOOK +<br/> +✓✓ CHECK MARK +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/char/unicode/nogroff.out_html b/regress/usr.bin/mandoc/char/unicode/nogroff.out_html index 440da23e1e5..849f8b07aef 100644 --- a/regress/usr.bin/mandoc/char/unicode/nogroff.out_html +++ b/regress/usr.bin/mandoc/char/unicode/nogroff.out_html @@ -1,37 +1,73 @@ -BEGINTEST<br/> -�� <control> NULL<br/> -�� <control> START OF HEADING<br/> -�� <control> BELL<br/> -�� <control> BACKSPACE<br/> - <control> CHARACTER TABULATION<br/> -�� <control> LINE FEED<br/> -�� <control> LINE TABULATION<br/> -�� <control> FORM FEED<br/> -�� <control> CARRIAGE RETURN<br/> -�� <control> ESCAPE<br/> -�� <control> DELETE<br/> -�� <control> 0x80<br/> -�� <control> 0x81<br/> -�� <control> BREAK PERMITTED HERE<br/> -�� <control> NO BREAK HERE<br/> -�� <control> PRIVACY MESSAGE<br/> -�� <control> APPLICATION PROGRAM COMMAND<br/> -≪≪ MUCH LESS-THAN<br/> -≫≫ MUCH GREATER-THAN<br/> -ffff LATIN SMALL LIGATURE FF<br/> -fifi LATIN SMALL LIGATURE FI<br/> -flfl LATIN SMALL LIGATURE FL<br/> -ffiffi LATIN SMALL LIGATURE FFI<br/> -fflffl LATIN SMALL LIGATURE FFL<br/> -� REPLACEMENT CHARACTER<br/> - <undefined><br/> - <undefined><br/> -𐀀 LINEAR B SYLLABLE B008 A<br/> -󿿽 <Plane 15 Private Use, Last><br/> - <undefined><br/> - <undefined><br/> -􀀀 <Plane 16 Private Use, First><br/> -􏿽 <Plane 16 Private Use, Last><br/> - <undefined><br/> - <undefined><br/> -ENDTEST<br/> +BEGINTEST +<br/> +�� <control> NULL +<br/> +�� <control> START OF HEADING +<br/> +�� <control> BELL +<br/> +�� <control> BACKSPACE +<br/> + <control> CHARACTER TABULATION +<br/> +�� <control> LINE FEED +<br/> +�� <control> LINE TABULATION +<br/> +�� <control> FORM FEED +<br/> +�� <control> CARRIAGE RETURN +<br/> +�� <control> ESCAPE +<br/> +�� <control> DELETE +<br/> +�� <control> 0x80 +<br/> +�� <control> 0x81 +<br/> +�� <control> BREAK PERMITTED HERE +<br/> +�� <control> NO BREAK HERE +<br/> +�� <control> PRIVACY MESSAGE +<br/> +�� <control> APPLICATION PROGRAM COMMAND +<br/> +≪≪ MUCH LESS-THAN +<br/> +≫≫ MUCH GREATER-THAN +<br/> +ffff LATIN SMALL LIGATURE FF +<br/> +fifi LATIN SMALL LIGATURE FI +<br/> +flfl LATIN SMALL LIGATURE FL +<br/> +ffiffi LATIN SMALL LIGATURE FFI +<br/> +fflffl LATIN SMALL LIGATURE FFL +<br/> +� REPLACEMENT CHARACTER +<br/> + <undefined> +<br/> + <undefined> +<br/> +𐀀 LINEAR B SYLLABLE B008 A +<br/> +󿿽 <Plane 15 Private Use, Last> +<br/> + <undefined> +<br/> + <undefined> +<br/> +􀀀 <Plane 16 Private Use, First> +<br/> +􏿽 <Plane 16 Private Use, Last> +<br/> + <undefined> +<br/> + <undefined> +<br/> +ENDTEST diff --git a/regress/usr.bin/mandoc/eqn/extract.pl b/regress/usr.bin/mandoc/eqn/extract.pl index 60e9d643839..e785f986e62 100755 --- a/regress/usr.bin/mandoc/eqn/extract.pl +++ b/regress/usr.bin/mandoc/eqn/extract.pl @@ -12,6 +12,7 @@ while (<>) { next unless length; } s/<\/math>.*// and $ended = 1; + s/^ *//; print "$_\n" if length; exit 0 if $ended; } |