wiki: Fix "forgotten" backslashes in text nodes of generated html and chm files. Some more improvements of css file

git-svn-id: trunk@49437 -
This commit is contained in:
wp 2015-06-24 21:59:51 +00:00
parent c65d9574ef
commit 6a4b449bb4
5 changed files with 14 additions and 26 deletions

View File

@ -127,7 +127,6 @@ pre, .pascal {
/*padding: 1em;*/
padding: 10px;
overflow: auto;
/* line-height: 1.25em;*/
line-height: 125%;
}
@ -185,17 +184,15 @@ span.keypress {
background: #f0ece8;
padding: 0.1em 0.4em;
font-size: 80%;
/* font-size: 0.8em;*/
white-space: nowrap;
}
div.categories {
background-color: #F9F9F9;
border: 1px solid #2F6FAB;
border: 1px solid #aaa;
color: black;
padding: 1em;
padding-top: 0.75em;
line-height: 1.25em;
padding: 10px;
margin-top: 20px;
}
@ -221,8 +218,6 @@ div.image {
/* roadmap.css */
table {
/* margin-top: 1em;
margin-bottom: 1em;*/
margin-top: 10px;
margin-bottom: 10px;
border-collapse: collapse;

View File

@ -127,7 +127,6 @@ pre, .pascal {
/*padding: 1em;*/
padding: 10px;
overflow: auto;
/* line-height: 1.25em;*/
line-height: 125%;
}
@ -185,17 +184,15 @@ span.keypress {
background: #f0ece8;
padding: 0.1em 0.4em;
font-size: 80%;
/* font-size: 0.8em;*/
white-space: nowrap;
}
div.categories {
background-color: #F9F9F9;
border: 1px solid #2F6FAB;
border: 1px solid #aaa;
color: black;
padding: 1em;
padding-top: 0.75em;
line-height: 1.25em;
padding: 10px;
margin-top: 20px;
}
@ -221,8 +218,6 @@ div.image {
/* roadmap.css */
table {
/* margin-top: 1em;
margin-bottom: 1em;*/
margin-top: 10px;
margin-bottom: 10px;
border-collapse: collapse;

View File

@ -161,6 +161,7 @@ begin
'"': Result := Result + '"';
'''': Result := Result + ''';
'%': Result := Result + '%';
'\': Result := Result + '\';
else Result := Result + AText[i];
end;
end;

View File

@ -1446,7 +1446,9 @@ begin
FNameValueToken:=TWPNameValueToken.Create(Self,Data);
while FCurP^<>#0 do begin
case FCurP^ of
{ wp: this case is responsible that backslashes do no appear in converted
windows pathnames. I don't know if a backslash has a special meaning
in the wiki syntax.
'\':
begin
// special character as normal character
@ -1455,7 +1457,7 @@ begin
FLastEmitPos:=FCurP;
if FCurP^<>#0 then inc(FCurP);
end;
}
#10,#13:
begin
EmitTextToken;

View File

@ -127,7 +127,6 @@ pre, .pascal {
/*padding: 1em;*/
padding: 10px;
overflow: auto;
/* line-height: 1.25em;*/
line-height: 125%;
}
@ -185,17 +184,15 @@ span.keypress {
background: #f0ece8;
padding: 0.1em 0.4em;
font-size: 80%;
/* font-size: 0.8em;*/
white-space: nowrap;
}
div.categories {
background-color: #F9F9F9;
border: 1px solid #2F6FAB;
border: 1px solid #aaa;
color: black;
padding: 1em;
padding-top: 0.75em;
line-height: 1.25em;
padding: 10px;
margin-top: 20px;
}
@ -221,8 +218,6 @@ div.image {
/* roadmap.css */
table {
/* margin-top: 1em;
margin-bottom: 1em;*/
margin-top: 10px;
margin-bottom: 10px;
border-collapse: collapse;