From b61f73e4f990f6e45cda852ad41c226a7b3ea97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Thu, 24 Nov 2016 20:37:33 +0200 Subject: [PATCH] Ditch SkipStyle flag It's been broken since early 2014, which clearly demonstrates that nobody uses it. Fixes #252. --- html.go | 8 -------- inline_test.go | 9 --------- 2 files changed, 17 deletions(-) diff --git a/html.go b/html.go index 54f2bea..5a0c5eb 100644 --- a/html.go +++ b/html.go @@ -31,7 +31,6 @@ type HTMLFlags int const ( HTMLFlagsNone HTMLFlags = 0 SkipHTML HTMLFlags = 1 << iota // Skip preformatted HTML blocks - SkipStyle // Skip embedded bar", - "

foo

\n\n

color: #f00 bar

\n", - }, TestParams{ - HTMLFlags: SkipStyle, - }) -} - func TestUseXHTML(t *testing.T) { doTestsParam(t, []string{ "---",