+ Merged revisions 127,128

git-svn-id: branches/fixes_2_0@129 -
This commit is contained in:
michael 2005-05-27 17:46:28 +00:00
parent a4ebb40cfe
commit 5e0dbf972f
5 changed files with 11 additions and 5 deletions

View File

@ -548,7 +548,7 @@ begin
El := Doc.CreateElement('meta');
HeadEl.AppendChild(El);
El['http-equiv'] := 'Content-Type';
El['content'] := 'text/html; charset=iso8859-1';
El['content'] := 'text/html; charset=iso-8859-1';
TitleElement := Doc.CreateElement('title');
HeadEl.AppendChild(TitleElement);
El := Doc.CreateElement('link');
@ -804,7 +804,8 @@ end;
function THTMLWriter.CreateCode(Parent: TDOMNode): THTMLElement;
begin
Result := CreateEl(CreateEl(Parent, 'tt'), 'nobr');
Result := CreateEl(CreateEl(Parent, 'tt'), 'span');
Result['class'] := 'code';
end;
function THTMLWriter.CreateWarning(Parent: TDOMNode): THTMLElement;

View File

@ -464,7 +464,7 @@ end;
Procedure TMainForm.FileNewClick(Sender : TFPGtkObject; Data : Pointer);
Const
template = '<?xml version="1.0" encoding="ISO8859-1"?>'+LineEnding+
template = '<?xml version="1.0" encoding="ISO-8859-1"?>'+LineEnding+
'<fpdoc-descriptions>'+LineEnding+
'</fpdoc-descriptions>'+LineEnding;

View File

@ -379,7 +379,7 @@ end;
Function TElementeditor.TestSave(S : String) : Boolean;
Const
Head = '<?xml version="1.0" encoding="ISO8859-1"?><fpdoc-descriptions>';
Head = '<?xml version="1.0" encoding="ISO-8859-1"?><fpdoc-descriptions>';
Tail = '</fpdoc-descriptions>';
SErrorSaving = 'There is an error in the documentation nodes:'+LineEnding+
'%s'+LineEnding+

View File

@ -53,6 +53,11 @@ h3, td.h3 {
font-size: 12pt
}
/* source fragments */
span.code {
white-space: nowrap
}
/* symbols in source fragments */
span.sym {
color: darkred

View File

@ -329,7 +329,7 @@ begin
Assign(f, OutputName);
Rewrite(f);
WriteLn(f, '<?xml version="1.0" encoding="ISO8859-1"?>');
WriteLn(f, '<?xml version="1.0" encoding="ISO-8859-1"?>');
WriteLn(f, '<fpdoc-descriptions>');
WriteLn(f, '<package name="', PackageName, '">');