forked from Botanical/BotanJS
Minor bug fixes
This commit is contained in:
@@ -175,9 +175,18 @@
|
||||
{
|
||||
stage = IDOMElement( stage );
|
||||
// [html][/html]
|
||||
return "[sitefile"
|
||||
+ " collection=\"" + stage.getDAttribute( "collection" ) + "\""
|
||||
+ " size=\"" + stage.getDAttribute( "size" ) + "\"" + "]"
|
||||
var options = "";
|
||||
var opt;
|
||||
if( opt = stage.getDAttribute( "collection" ) )
|
||||
{
|
||||
options += " collection=\"1\"";
|
||||
}
|
||||
if( opt = stage.getDAttribute( "size" ) )
|
||||
{
|
||||
options += " size=\"" + opt + "\"";
|
||||
}
|
||||
|
||||
return "[sitefile" + options + "]"
|
||||
+ escapeStr( stage.getDAttribute( "value" ) )
|
||||
+ "[/sitefile]";
|
||||
};
|
||||
|
Reference in New Issue
Block a user