mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
* Fix from Alexei in HREF tag dialog
git-svn-id: trunk@27436 -
This commit is contained in:
parent
2c8f9466a1
commit
38b49f7569
@ -170,14 +170,16 @@ function TfpWebHREFEditForm.HtmlText: string;
|
||||
begin
|
||||
//<A href="work/ProgectManager/www_ui/html_template/pmQuestionStatusEdit.html" name="srger" rel="Contents" type="text/html" target="_self"></A>
|
||||
|
||||
Result:='<a href="'+cbHREF.Text;
|
||||
Result:='<a';
|
||||
if cbHREF.Text<>'' then
|
||||
Result:=Result + ' href="'+cbHREF.Text+'"';
|
||||
if edtLinkName.Text <> '' then
|
||||
Result:=Result + ' name="'+edtLinkName.Text+'"';
|
||||
if cbType.Text <> '' then
|
||||
Result:=Result + ' type="'+cbType.Text+'"';
|
||||
if cbTarg.Text <> '' then
|
||||
Result:=Result + ' target="'+cbTarg.Text+'"';
|
||||
Result:=Result + '">'+edtLinkText.Text+'</a>';
|
||||
Result:=Result + '>'+edtLinkText.Text+'</a>';
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user