Quote:
Originally Posted by WS64
I think it is sometimes surprisingly easy to delete things by doing some replacements.
E.g. search for (normal mode/all html files)
"
and replace it with
«
I havn't found out yet what exactly happens here, but ALL your text is gone...
|
Adding to what meme said; I think this arises because all the
" in the xml header:
Quote:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
|
get screwed up, if you replace in "current file" the well-formed xml check comes up, but if you replace in "all html files" the whole document(s) is wiped out.
You should be more careful with such replacements, e.g. use something like (regex):
Find: ([^=])"(\w)
Replace: \1«\2
since, IIUC, you want to replace, in a quotation, an opening
" with
«. This will catch most, but not all of them (e.g. sentences that start with an en- or em-dash or
...).