diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html
index 83329b3..6cfbc1b 100644
--- a/_includes/refactor-content.html
+++ b/_includes/refactor-content.html
@@ -214,7 +214,7 @@
{% assign left = snippet | split: mark_end | first %}
{% assign right = snippet | slice: left.size, snippet.size %}
- {% assign left = left | replace: '">', '">' | append: '' %}
+ {% assign left = left | replace_first: '">', '">' | append: '' %}
{% assign _new_content = _new_content | append: mark_start
| append: left | append: anchor | append: right