Skip to content

Commit

Permalink
Header tags added in getFormattedText
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-varnavskiy committed Feb 20, 2013
1 parent 430116f commit 64a80c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goose/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def getText(self, node):

@classmethod
def getFormattedText(self, node):
pars = node.cssselect('p')
pars = node.cssselect('h1,h2,h3,h4,h5,p')
for p in pars:
if p.text is not None: p.text = u'\ufffc ' + p.text
return Parser.getText(node)
Expand Down

0 comments on commit 64a80c7

Please sign in to comment.