Skip to content

Commit 5d85ccb

Browse files
committed
fix: table bypass refactoring when it contains IAL (#519)
Fix #519
1 parent 7fef3fa commit 5d85ccb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_includes/refactor-content.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
we suround the markdown table with `<div class="table-wrapper">` and `</div>`
1010
-->
1111

12-
{% if _content contains '<table>' %}
12+
{% if _content contains '<table' %}
1313
{% assign _content = _content
14-
| replace: '<table>', '<div class="table-wrapper"><table>'
14+
| replace: '<table', '<div class="table-wrapper"><table'
1515
| replace: '</table>', '</table></div>'
16+
| replace: '<code><div class="table-wrapper">', '<code>'
1617
| replace: '</table></div></code>', '</table></code>'
1718
%}
1819
{% endif %}

0 commit comments

Comments
 (0)