Pages: [1] |
|
|
Author |
Topic: Single quotes (Read 611 times) |
brainstorm
Posts: 1
|
I'm using single quotes around my snippet attributes but when I save they get replaced by double quotes.
This:
$title = "<!-- #BeginSnippet name='Title' -->Lorem ipsum dolor<!-- #EndSnippet -->";
Becomes:
$title = "<!-- #BeginSnippet name="Title" lastsavedts="2014-03-11 04:30:27" lastsavedby="admin" -->Lorem ipsum dolor<!-- #EndSnippet -->";
This is actually for editing a PHP variable in the <head> of the web page. I can edit the Title text and the new text is saved correctly. But the change in the quotes prevents my page working.
Is there any way to force SnippetMaster to use single quotes?
This would also have to apply to the attributes like lastsavedts and lastsavedby which SnippetMaster adds automatically.
Thanks for your help.
|
|
|
|
admin
Forum Administrator

Posts: 3169
SnippetMaster Author
|
Unfortunately, this is not possible. Snippetmaster will automatically replace the single quote character with double quotes. 
|
|
|
|
|
Pages: [1]
|
|
|
|