Closed JoelPakszies closed 1 year ago
After further investigation with my limited programming skills I might have found my mistake: It seems that the <>do something with the code. I implemented those so the Link in the Clipboard gets shown as a link. If I remove "<>" the Quicktext works fine, but the link cuts off too early. Is there a solution for this or something I am just not seeing?
I can confirm the problem. This is what the saved template xml looks like:
<text shortcut="" type="0">
<name><![CDATA[Test]]></name>
<body><![CDATA[<[[CLIPBOARD]]>]]></body>
</text>
You can see that the content itself contains a CDATA end token ]]>
. That duplicate ]]>
is the problem here.
Stackoverflow reference: https://stackoverflow.com/questions/223652/is-there-a-way-to-escape-a-cdata-end-token-in-xml
Add a space or any other character between [[CLIPBOARD]]
and >
like this: <[[CLIPBOARD]] >
.
Thank you for this bug report.
Please note that it is not just limited to [[CLIPBOARD]]
but any tag followed by >
.
On my side, I had the same issue because I was using:
Reviewed-by: [[FROM=fullname]] <[[FROM=email]]>
We can see the issue when looking at the exported XML file, two ]]>
on the same line:
<body><![CDATA[Reviewed-by: [[FROM=fullname]] <[[FROM=email]]>]]></body>
Importing the exported template was not working as well with no errors or explanations.
You are right every occurrence of ]]>
is affected.
@jobisoft Did you have time to think about the bugfix #329?
Should be fixed in the next release, which inlcudes Samuel's fix.
I can confirm, that this is fixed in version 5.6.
The problem still exists, if I disable other add-ons - yes The problem still exists, if I use a fresh profile - yes
Our Quicktext presets get deleted on restart of Thunderbird once I implemtent the preset below. Sadly there is no error shown. We have tried on multiple PC's/Laptops. It also happened on older versions of thunderbird/quicktext, sadly I don't know what Versions we were running before. I decided to update everything, because it stopped working.
If we just use normal text we don't have a problem, I implemented this (just a cut out from the whole mail):
anfragen, wie es um Ihre Verfügbarkeit steht.
<[[CLIPBOARD]]>
Wenn Sie ein aktuelles CV
Everything else works fine. All my Scripts are working and also all other presets. I have tried just adding the text above and leaving everything else empty, but to no avail. Is there anything I am doing wrong? Or can I somehow avoid this problem, by solving the task in a different way? Thanks in advance!