summaryrefslogtreecommitdiffstats
path: root/publisher/htmlElementsCollector.go
diff options
context:
space:
mode:
Diffstat (limited to 'publisher/htmlElementsCollector.go')
-rw-r--r--publisher/htmlElementsCollector.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/publisher/htmlElementsCollector.go b/publisher/htmlElementsCollector.go
index c6e0d3f0f..6166c49ad 100644
--- a/publisher/htmlElementsCollector.go
+++ b/publisher/htmlElementsCollector.go
@@ -87,11 +87,6 @@ func (w *cssClassCollectorWriter) Write(p []byte) (n int, err error) {
if w.isCollecting {
for ; i < len(p); i++ {
b := p[i]
- if !w.inQuote && b == '/' {
- // End element, we don't care about those.
- w.endCollecting(true)
- break
- }
w.toggleIfQuote(b)
if !w.inQuote && b == '>' {
w.endCollecting(false)