# encoding: utf-8 Feature: All the possibilities of HTML parser Scenario Outline: Inplace tags Given we use "html" bowler When the input string is And the execute method is called on bowler Then the result should equal to Examples: | input | output | | "here ≈italic≈ goes" | "

here italic goes

" | | "here ≡bold≡ goes" | "

here bold goes

" | | "here ↓small↓ goes" | "

here small goes

" | | "here ↑sup↑ goes" | "

here sup goes

" | | "here abbr†desc ription† goes" | "

here abbr goes

" | | "here ✁del✁ goes" | "

here del goes

" | | "here ✿_span_nobrnobr✿_span_nobr goes" | "

here nobr goes

" | | "here ÷deleted÷ goes" | "

here deleted goes

" | | "here λcodeλ goes" | "

here code goes

" | | "here ≡λbold codeλ≡ goes" | "

here bold code goes

" | | "here λ≡code bold≡λ goes" | "

here code bold goes

" | | "Hello, ≈World≈!" | "

Hello, World!

" | Scenario Outline: Inplace tags nested Given we use "html" bowler When the input string is And the execute method is called on bowler Then the result should NOT equal to Examples: | input | output | | "here ≡nested ≡bold≡ tags≡ go" | "

here nested bold tags goes

" | Scenario Outline: Alone tags Given we use "html" bowler When the input string is And the execute method is called on bowler Then the result should equal to Examples: | input | output | | "A ⏎ B" | "

A
B

" | | "A —— B" | "

A


B

" | Scenario: Block tag Λ Given we use "html" bowler When the input string is """ Λ ruby @mapping[:block] = ≡bold≡ Λ """ And the execute method is called on bowler Then the result should equal to """
@mapping[:block] = ≡bold≡
""" Scenario: Block tag ✍ Given we use "html" bowler When the input string is """ ✍ ruby @mapping[:block] = ≡bold≡ ✍ """ And the execute method is called on bowler Then the result should equal to """ """ Scenario Outline: Video tags Given we use "html" bowler When the input string is And the execute method is called on bowler Then the result should match " """