mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
fix issue 2634 Quotes in tables' comment field break mypostscript (#2716)
* fix issue 2634 Quotes in tables' comment field break mypostscript * polish comments * polish comments
This commit is contained in:
parent
0632e86b02
commit
0b98b3f57d
@ -1582,7 +1582,13 @@ sub dump_all_attribs_in_tabs
|
||||
} else {
|
||||
$values .= "$attrib=$val||";
|
||||
if ($attrib =~ /^disable$/) {
|
||||
$values .= "comments=$t";
|
||||
# Updated on 2017-03-22 for issue 2634 Quotes in tables' comment field break mypostscript
|
||||
# The original line is : $values .= "comments=$t";
|
||||
# In order to fix issue 2634, change this line to : $values .= "comments=";
|
||||
# To keep the free-style of comments and avoid the issues caused by special characters in
|
||||
# the comments, the value of comments will not be appending to network related environment
|
||||
# variables in mypostscript
|
||||
$values .= "comments=";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user