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 c942c46e5..c9d81818c 100644
--- a/publisher/htmlElementsCollector.go
+++ b/publisher/htmlElementsCollector.go
@@ -372,11 +372,6 @@ func htmlLexToEndOfComment(w *htmlElementsCollectorWriter) htmlCollectorStateFun
func (w *htmlElementsCollectorWriter) parseHTMLElement(elStr string) (el htmlElement, err error) {
conf := w.collector.conf
- if conf.DisableTags && conf.DisableClasses {
- // Nothing to do.
- return
- }
-
tagName := parseStartTag(elStr)
el.Tag = strings.ToLower(tagName)