Kaydet (Commit) 0ea90e6c authored tarafından Enrico Tröger's avatar Enrico Tröger

Avoid inclusion of PHP tags in PHP function descriptions.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2083 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 35d83d59
2007-12-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c:
Avoid inclusion of PHP tags in PHP function descriptions.
2007-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/filetypes.c, data/filetypes.conf:
......
......@@ -146,7 +146,10 @@ int main(char[][] args)\n\
}\n\
";
static const gchar templates_filetype_php[] = "{fileheader}\n\
static const gchar templates_filetype_php[] = "\
<?php\n\
{fileheader}\
?>\n\n\
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\
......@@ -454,8 +457,8 @@ static gchar *make_comment_block(const gchar *comment_text, gint filetype_idx, g
case GEANY_FILETYPES_PHP:
{
frame_start = "<?php\n/*\n";
frame_end = " */\n?>\n";
frame_start = "/*\n";
frame_end = " */\n";
line_prefix = " *";
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment