...1 BadAmpersand '&'
1 EndOfStream ''
1 BadGreaterThan '>'
1 EndOfStream ''
.9 StartTag '
' 213 RawData '\n ' 229 StartTag '' 236 RawData 'my span' 243 EndTag '' 250 RawData '\n ' 285 StartTag '' 289 RawData 'Link' 293 EndTag '' 301 RawData '\n\n ' 322 StartTag '' 326 RawData 'Link' 330 EndTag '' 338 RawData '\n\n ' 370 StartTag '' 374 RawData 'Link' 378 EndTag '' 384 RawData '\n\n ' 388 EndTag '
' 394 RawData '\n\n ' 413 StartTag '' 425 RawData '\n this ' 430 CharEntity '&' 445 RawData ' that and mu = ' 453 HexChar 'μ' 458 RawData '\n ' 462 EndTag '
' 468 RawData '\n\n ' 471 StartTag '' 478 RawData '\n ' 482 CharEntity '<' 491 RawData 'not a tag' 495 CharEntity '>' 500 RawData '\n ' 504 EndTag '
' 510 RawData '\n\n ' 513 StartTag ''
530 RawData '\n line break'
535 StartEndTag '
'
552 RawData '\n line break'
557 StartEndTag '
'
562 RawData '\n '
566 EndTag '
'
610 StartTag ''
685 RawData '$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n '
692 EndTag '
'
698 EndTag '
'
704 RawData '\n\n '
709 StartEndTag '' 6 RawData ' x ' 7 BadAmpersand '&' 10 RawData ' y ' 14 EndTag '
' 14 EndOfStream '' ....slices [('disabled', 16, 16)] all [('double', ''), ('single', ''), ('empty', 'value'), ('missing', ''), ('empty2', '')] slices [('double', 11, 11), ('single', 21, 21), ('empty', 30, 35), ('missing', 43, 43), ('empty2', 51, 51)] .. tag = 'a' 0 'a' tag = 'a' 0 'a' 1 'novalue' 4 '' tag = 'a' 0 'a' 1 'href' 3 'double quoted' tag = 'a' 0 'a' 1 'href' 2 'foo' 1 'class' 3 'bar' tag = 'a' 0 'a' 1 'href' 2 'foo' 1 'class' 3 'bar' ...1 2 3 4 '&' '>' '\n my span\n Link\n\n Link\n\n Link\n\n
\n\n\n this & that and mu = μ\n
\n\n\n <not a tag>\n
\n\n\n line break
\n line break
\n
$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n
\n\n