Quotes in thread titles turn into HTML-escaped entities when editing the title again
A thread starter had quotes in their title and I needed to change something else in their title.
When I click edit, the title is showing me the &
and "
entities, but when resaving those will now get escaped so the displayed title ends up having the escaped entities in there.
Haha it's difficult to explain - try for yourself :)
- CIn reply tochrscheuer⬆:Christian Scheuer @chrscheuer
I'm having troubles with this in a specific post:
https://forum.soundflow.org/-753/how-to-copy-paste-volume-gain-and-clip-gain-automation-when-using-the-field-recorder-packageI noticed it since I saw it looking weird when I quoted the thread on Facebook:
Edit: This may have been the wrong issue to add this to. I didn't re-edit the title, it was only edited once upon creating of the thread.
- KajMagnus @KajMagnus2019-06-18 11:47:42.856Z2019-06-18 12:56:31.540Z
when I quoted the thread on Facebook
Seems I can reproduce: I copy-pasted that link into a new Facebook post, and in the preview over at Facebook, my new (& not yet submitted) FB post appears as
copy & paste
instead ofcopy & paste
. Maybe Facebook fetches the title from the html<title>
tag — which looks like this:<title>How to copy &amp; paste volume gain and clip gain automation when using the field recorder package</title>
meaning, I seem to have double escaped the
&
in the title text, right? The title text shoud be just as follows:<title>How to copy & paste ...
Edit: Yes this is an a bit different issue, anyway, I'll reopen this and fix, I think I found the buggy line
- CChristian Scheuer @chrscheuer
Yes that's the exact problem :)
- Progresswith handling this problem
- KajMagnus @KajMagnus2019-04-30 14:00:39.784Z
Thanks for reporting. Will fix. B.t.w. this has annoyed me too from time to time. I think the problem is that Talkyad unnecessarily doulble-sanitizes the title.
- CChristian Scheuer @chrscheuer
FYI, this also appears in document titles (eg.
"
) - may be nice to fix as part of updating document titles to match the current thread :) - KajMagnus @KajMagnus2019-05-08 05:42:55.970Z
Ok thanks for the tips. I think I've fixed that, + this topic, in my current work-in-progress Git branch. The fix will be available ... probably at the end of next week. (Together with some other things that require a bit more testing.)
- KajMagnus @KajMagnus2019-05-18 10:22:13.374Z
@chrscheuer This should now have been fixed over at your site.
(Self hosted servers will auto upgrade in a few days.)
- KajMagnus @KajMagnus2019-06-18 12:57:21.057Z
Ok so the
<html><head><title>
tag double escapes things, so if pasting a link into Facebook,&
becomes&
, .... fixing ...