forked from lijiext/lammps
Fix typos in txt2html
This commit is contained in:
parent
d6800405a5
commit
21be86c423
|
@ -205,7 +205,7 @@ which are converted into HTML.
|
|||
<LI> "}" (right bracket) --> turn-off italics by
|
||||
inserting a </I> </UL>
|
||||
|
||||
<P>If a backspace '\' preceeds any of the bold/italic mark-up characters,
|
||||
<P>If a backspace '\' precedes any of the bold/italic mark-up characters,
|
||||
then mark-up is not performed; the mark-up character is simply left in
|
||||
the text.
|
||||
</P>
|
||||
|
|
|
@ -561,7 +561,7 @@ void substitute(string &s)
|
|||
string punctuation = ".,?!;:()";
|
||||
|
||||
// substitute for bold & italic markers
|
||||
// if preceeded by \ char, then leave markers in text
|
||||
// if preceded by \ char, then leave markers in text
|
||||
|
||||
n = s.find_first_of("[]{}");
|
||||
while (n != string::npos) {
|
||||
|
|
Loading…
Reference in New Issue