diff -r 602a93f33528 -r e762ad1c8909 reportlab/platypus/paraparser.py --- a/reportlab/platypus/paraparser.py Mon Jun 05 13:43:08 2006 +0000 +++ b/reportlab/platypus/paraparser.py Mon Jun 05 13:55:03 2006 +0000 @@ -312,6 +312,7 @@ # < /b > - bold # < /i > - italics # < u > < /u > - underline +# < strike > < /strike > - strike through # < super > < /super > - superscript # < sup > < /sup > - superscript # < sub > < /sub > - subscript @@ -382,6 +383,13 @@ def end_u( self ): self._pop(underline=1) + #### strike + def start_strike( self, attributes ): + self._push(strike=1) + + def end_strike( self ): + self._pop(strike=1) + #### link def start_link(self, attributes): self._push(**self.getAttributes(attributes,_linkAttrMap)) @@ -486,6 +494,7 @@ frag.super = 0 frag.rise = 0 frag.underline = 0 + frag.strike = 0 frag.greek = 0 frag.link = None if bullet: @@ -878,7 +887,7 @@ Theban prophet Teiresias had told me, and how carefully Aeaean Circe had warned me to shun the island of the blessed sun-god. So being much troubled I said to the men, 'My men, I know you are hard pressed, -but listen while I tell you the prophecy that Teiresias made me, and +but listen while I tell you the prophecy that Teiresias made me, and how carefully Aeaean Circe warned me to shun the island of the blessed sun-god, for it was here, she said, that our worst danger would lie. Head the ship, therefore, away from the island.''')