Skip to content

Commit

Permalink
fix syntax stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
KonnorRogers committed Jul 1, 2024
1 parent 27ca981 commit b0b4f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/plugins/builders/inspectors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def syntax_highlight(document)
<sl-icon class='clipboard__icon--idle' name='clipboard'></sl-icon>
</clipboard-copy>
<textarea id='#{id}' hidden>#{CGI.escape_html(text)}</textarea>
<script type="text/plain" id='#{id}' hidden>#{CGI.escape_html(text)}</script>
</div>
HTML

Expand Down
2 changes: 1 addition & 1 deletion docs/src/_components/syntax.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<sl-icon class="clipboard__icon--idle" name="clipboard"></sl-icon>
</clipboard-copy>

<textarea id="<%= id %>" hidden><%= content %></textarea>
<script type="text/plain" id="<%= id %>" hidden><%= content %></script>

</div>
<%= markdownify("```#{language}" + content + "```") %>
Expand Down

0 comments on commit b0b4f72

Please sign in to comment.