Problem/Motivation

Need to support ol / ul and li in tables.

Steps to reproduce

This table markup:

	<table class="table table-bordered table-responsive">
		<caption class="text-left"><span class="small lead">For example, your year productive capacity is 601 acres of grain</span></caption>
		<thead>
			<tr>
				<td></td>
				<th class="text-right" scope="col">Reference year 0</th>
				<th class="text-right" scope="col">Reference year 1</th>
				<th class="text-right" scope="col">Reference year 2</th>
			</tr>
		</thead>
		<tbody>
			<tr class="text-right">
				<th scope="row">Grain (acres)</th>
				<td>601</td>
				<td>601</td>
				<td>601</td>
			</tr>
			<tr class="text-right">
				<th scope="row">Industry Benchmark</th>
				<td>$130.12</td>
				<td>$79.11</td>
				<td>$124.78</td>
			</tr>
			<tr class="text-right">
				<th scope="row">Total</th>
				<td>$78,074</td>
				<td>$47,460</td>
				<td>$74,870</td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="4">
				<ol class="list-unstyled">
					<li>Average ($78,074 + $47,460 + $74,874) ÷ 3 = $66,802</li>
					<li>Multiplied by 0.44% = $298</li>
					<li>Multiplied by 71% = $211</li>
					<li>Total: fee amount = $211</li>
					<li>Add: administrative cost share = $56</li>
					<li>Total: fee plus administrative cost share = $267</li>
				</ol>
				</td>
			</tr>
		</tfoot>

Proposed resolution

See code change

Remaining tasks

Test and confirm fix

User interface changes

Fix

API changes

See code changes

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joseph.olstad created an issue. See original summary.

  • joseph.olstad committed e4269a8a on 1.0.x
    fix: #3559672 Support ol / ul elements inside td element and li inside...
joseph.olstad’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

joseph.olstad’s picture

Assigned: joseph.olstad » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.