diff --git a/resources/decoders/html_to_text.json b/resources/decoders/html_to_text.json index 7daccf6..593d5db 100644 --- a/resources/decoders/html_to_text.json +++ b/resources/decoders/html_to_text.json @@ -46,5 +46,53 @@ { "input": "
Hello
World
", "expected": "HelloWorld" + }, + { + "input": "

Hello world

", + "expected": "Hello world\n" + }, + { + "input": "

Hello world

", + "expected": "Hello world\n" + }, + { + "input": "Hi", + "expected": "Hi" + }, + { + "input": "TitleBody", + "expected": "Body" + }, + { + "input": "
Hello
World
", + "expected": "HelloWorld" + }, + { + "input": "line one
line two
end", + "expected": "line one\nline two\nend" + }, + { + "input": "

first

second

", + "expected": "first\nsecond\n" + }, + { + "input": "
Sale & more
", + "expected": "Sale & more" + }, + { + "input": "

Before

Hello world

", + "expected": "Before\nHello world\n" + }, + { + "input": "abcdef", + "expected": "abcdef" + }, + { + "input": "ab", + "expected": "ab" + }, + { + "input": "before