We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fef3fa commit 5d85ccbCopy full SHA for 5d85ccb
_includes/refactor-content.html
@@ -9,10 +9,11 @@
9
we suround the markdown table with `<div class="table-wrapper">` and `</div>`
10
-->
11
12
-{% if _content contains '<table>' %}
+{% if _content contains '<table' %}
13
{% assign _content = _content
14
- | replace: '<table>', '<div class="table-wrapper"><table>'
+ | replace: '<table', '<div class="table-wrapper"><table'
15
| replace: '</table>', '</table></div>'
16
+ | replace: '<code><div class="table-wrapper">', '<code>'
17
| replace: '</table></div></code>', '</table></code>'
18
%}
19
{% endif %}
0 commit comments