// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved. // SPDX-License-Identifier: Apache-2.0 package sanitizer // import "miniflux.app/v2/internal/reader/sanitizer" import "testing" func TestStripTags(t *testing.T) { input := `This link is relative and this image: ` expected := `This link is relative and this image: ` output := StripTags(input) if expected != output { t.Errorf(`Wrong output: "%s" != "%s"`, expected, output) } }