SnippetMaster Support Forums
Return to main website
 
June 26, 2015, 09:22:49 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2015, 09:22:49 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Single quotes « previous next »
Pages: [1] Print
Author Topic: Single quotes  (Read 612 times)
brainstorm

Posts: 1


[-] Single quotes
« on: March 11, 2014, 08:55:41 AM »

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.
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Single quotes
« Reply #1 on: May 06, 2014, 04:18:07 AM »

Unfortunately, this is not possible.  Snippetmaster will automatically replace the single quote character with double quotes.  Sad
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Single quotes « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!