Quote:
Originally Posted by Ghostcat
Personally, I would not use Transfer HTML for this; I would use Search and Replace.
Search for <br/> and replace with <br/><span class="drop_caps_tab"/>.
That said you appear to be missing the closing </span> tag. This would make the search slightly more complicated as you would need account for the closing tag in your search. So for the example given, I suggest:
Search for <br/>\n("?[A-Z]) and replace with <br/><span class="drop_caps_tab"/>\n\1</span>.
|
Thank you so much - Search and Replace worked perfectly!
I am not missing the closing tag, these are both self-closing tags because they have /> in the end. I actually want an empty <span/> tag inserted because of the properties that it brings - it is simulating a tab through padding like so:
.drop_caps_tab {
padding-left: 0.6cm;
}