summaryrefslogtreecommitdiff
path: root/bs4/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2014-12-11 22:23:26 -0500
committerLeonard Richardson <leonardr@segfault.org>2014-12-11 22:23:26 -0500
commit5bd09164de9b5a45ffea4171968b8186dcdc6f69 (patch)
tree0784b1c3e6ef5a803d9323e056d14bbbc07ebc06 /bs4/element.py
parent3c133d8d12f314ff3d70195cc0422e8e087b7829 (diff)
Improved the lxml tree builder's handling of processing
instructions. [bug=1294645]
Diffstat (limited to 'bs4/element.py')
-rw-r--r--bs4/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/element.py b/bs4/element.py
index 1127c7a..ff716df 100644
--- a/bs4/element.py
+++ b/bs4/element.py
@@ -707,7 +707,7 @@ class CData(PreformattedString):
class ProcessingInstruction(PreformattedString):
PREFIX = u'<?'
- SUFFIX = u'?>'
+ SUFFIX = u'>'
class Comment(PreformattedString):