summaryrefslogtreecommitdiff
path: root/bs4/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2015-09-28 19:39:00 -0400
committerLeonard Richardson <leonardr@segfault.org>2015-09-28 19:39:00 -0400
commit6a52d2e45195049ed7ef5b5862edf530eba518d0 (patch)
tree41b79df141072a06beada94b668934f22cc199b2 /bs4/element.py
parent6f113b66f8084f900470b8931c107d96d28f5dd7 (diff)
Corrected the output of Declaration objects. [bug=1477847]
Diffstat (limited to 'bs4/element.py')
-rw-r--r--bs4/element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/element.py b/bs4/element.py
index 02fd1b7..e84d70f 100644
--- a/bs4/element.py
+++ b/bs4/element.py
@@ -752,8 +752,8 @@ class Comment(PreformattedString):
class Declaration(PreformattedString):
- PREFIX = u'<!'
- SUFFIX = u'!>'
+ PREFIX = u'<?'
+ SUFFIX = u'?>'
class Doctype(PreformattedString):