Skip to content

Commit

Permalink
update test: Crossheading with attribs now supported :)
Browse files Browse the repository at this point in the history
  • Loading branch information
goose-life committed Feb 21, 2025
1 parent 346979d commit 322e93e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indigo_api/tests/importer_fixtures/attribs.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h2>Act 2 of 1998</h2>



<span class="akn-akomaNtoso"><span class="akn-act" data-name="act"><span class="akn-body"><section class="akn-section cls" style="background-color:red" id="sec_1" data-eId="sec_1"><h3>1 Simple</h3><span class="akn-content"><span class="akn-p cls" id="sec_1__p_1" data-eId="sec_1__p_1">just class</span><span class="akn-p cls" style="background-color:blue" id="sec_1__p_2" data-eId="sec_1__p_2">class and attribs</span></span></section><section class="akn-section" id="sec_2" data-eId="sec_2"><h3>2 Tables</h3><span class="akn-content"><div class="akn--table-container"><table class="akn-table cls" style="background-color:orange" id="sec_2__table_1" data-eId="sec_2__table_1"><tr class="akn-tr"><td class="akn-td cls" style="background-color:green" rowspan="1"><span class="akn-p" id="sec_2__table_1__p_1" data-eId="sec_2__table_1__p_1">Cell with attribs</span></td><th class="akn-th cls" style="background-color:purple"><span class="akn-p" id="sec_2__table_1__p_2" data-eId="sec_2__table_1__p_2">Heading with attribs</span></th></tr></table></div></span></section><span class="akn-hcontainer" data-name="hcontainer" id="hcontainer_1" data-eId="hcontainer_1"><span class="akn-content"><span class="akn-p" id="hcontainer_1__p_1" data-eId="hcontainer_1__p_1">CROSSHEADING.cls{style background-color:pink} Crossheading with attribs (not yet supported)</span></span></span><section class="akn-section" id="sec_3" data-eId="sec_3"><h3>3 Items</h3><span class="akn-content"><span class="akn-blockList cls" style="background-color:lime" id="sec_3__list_1" data-eId="sec_3__list_1"><span class="akn-listIntroduction" id="sec_3__list_1__intro_1" data-eId="sec_3__list_1__intro_1">An intro</span><span class="akn-item" id="sec_3__list_1__item_1" data-eId="sec_3__list_1__item_1"><span class="akn-num">1</span><span class="akn-p" id="sec_3__list_1__item_1__p_1" data-eId="sec_3__list_1__item_1__p_1">an item - attribs on items not yet supported</span></span></span></span></section><section class="akn-section" id="sec_4" data-eId="sec_4"><h3>4 Bullets</h3><span class="akn-content"><span class="akn-ul cls" style="background-color:lime" id="sec_4__ul_1" data-eId="sec_4__ul_1"><span class="akn-li" id="sec_4__ul_1__li_1" data-eId="sec_4__ul_1__li_1"><span class="akn-p" id="sec_4__ul_1__li_1__p_1" data-eId="sec_4__ul_1__li_1__p_1">item 1</span></span><span class="akn-li" id="sec_4__ul_1__li_2" data-eId="sec_4__ul_1__li_2"><span class="akn-p" id="sec_4__ul_1__li_2__p_1" data-eId="sec_4__ul_1__li_2__p_1">item 2</span></span></span></span></section><span class="akn-hcontainer" data-name="hcontainer" id="hcontainer_2" data-eId="hcontainer_2"><span class="akn-content"><span class="akn-p" id="hcontainer_2__p_1" data-eId="hcontainer_2__p_1">end</span></span></span></span></span></span>
<span class="akn-akomaNtoso"><span class="akn-act" data-name="act"><span class="akn-body"><section class="akn-section cls" style="background-color:red" id="sec_1" data-eId="sec_1"><h3>1 Simple</h3><span class="akn-content"><span class="akn-p cls" id="sec_1__p_1" data-eId="sec_1__p_1">just class</span><span class="akn-p cls" style="background-color:blue" id="sec_1__p_2" data-eId="sec_1__p_2">class and attribs</span></span></section><section class="akn-section" id="sec_2" data-eId="sec_2"><h3>2 Tables</h3><span class="akn-content"><div class="akn--table-container"><table class="akn-table cls" style="background-color:orange" id="sec_2__table_1" data-eId="sec_2__table_1"><tr class="akn-tr"><td class="akn-td cls" style="background-color:green" rowspan="1"><span class="akn-p" id="sec_2__table_1__p_1" data-eId="sec_2__table_1__p_1">Cell with attribs</span></td><th class="akn-th cls" style="background-color:purple"><span class="akn-p" id="sec_2__table_1__p_2" data-eId="sec_2__table_1__p_2">Heading with attribs</span></th></tr></table></div></span></section><span class="akn-hcontainer" data-name="hcontainer" id="hcontainer_1" data-eId="hcontainer_1"><h3 class="akn-crossHeading cls" style="background-color:pink" id="hcontainer_1__crossHeading_1" data-eId="hcontainer_1__crossHeading_1">Crossheading with attribs (now supported :))</h3></span><section class="akn-section" id="sec_3" data-eId="sec_3"><h3>3 Items</h3><span class="akn-content"><span class="akn-blockList cls" style="background-color:lime" id="sec_3__list_1" data-eId="sec_3__list_1"><span class="akn-listIntroduction" id="sec_3__list_1__intro_1" data-eId="sec_3__list_1__intro_1">An intro</span><span class="akn-item" id="sec_3__list_1__item_1" data-eId="sec_3__list_1__item_1"><span class="akn-num">1</span><span class="akn-p" id="sec_3__list_1__item_1__p_1" data-eId="sec_3__list_1__item_1__p_1">an item - attribs on items not yet supported</span></span></span></span></section><section class="akn-section" id="sec_4" data-eId="sec_4"><h3>4 Bullets</h3><span class="akn-content"><span class="akn-ul cls" style="background-color:lime" id="sec_4__ul_1" data-eId="sec_4__ul_1"><span class="akn-li" id="sec_4__ul_1__li_1" data-eId="sec_4__ul_1__li_1"><span class="akn-p" id="sec_4__ul_1__li_1__p_1" data-eId="sec_4__ul_1__li_1__p_1">item 1</span></span><span class="akn-li" id="sec_4__ul_1__li_2" data-eId="sec_4__ul_1__li_2"><span class="akn-p" id="sec_4__ul_1__li_2__p_1" data-eId="sec_4__ul_1__li_2__p_1">item 2</span></span></span></span></section><span class="akn-hcontainer" data-name="hcontainer" id="hcontainer_2" data-eId="hcontainer_2"><span class="akn-content"><span class="akn-p" id="hcontainer_2__p_1" data-eId="hcontainer_2__p_1">end</span></span></span></span></span></span>



Expand Down
2 changes: 1 addition & 1 deletion indigo_api/tests/importer_fixtures/attribs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ BODY
TH.cls{style background-color:purple}
Heading with attribs

CROSSHEADING.cls{style background-color:pink} Crossheading with attribs (not yet supported)
CROSSHEADING.cls{style background-color:pink} Crossheading with attribs (now supported :))

SEC 3 - Items

Expand Down

0 comments on commit 322e93e

Please sign in to comment.