Description
The template:
#set($double_double = """") ## ok
#set($single_single = '''') ## ok
#set($double_single = "''") ## strange, equals "'"
#set($single_double = '""') ## strange, equals '"'
double_double = $double_double
single_single = $single_single
double_single = $double_single
single_double = $single_double
renders as:
"
'
'
"
whereas one would expect:
"
'
''
""
More readily, one would expect single quotes doubling mechanism and double quotes doubling mechanism to only be active inside single quotes and double quotes, respectively.