• Resolved vcb

    (@vcb)


    First I’d like to thank you for this great plugin.
    It works out of the box without issues; 99,9% of the time.

    I’ve encountered a special case which breaks the plugin.
    When any captions with apostrophe (“) are being used the captions won’t show the full text; breaking the <html> because of the extra ” within the code.

    Do you see any solution to this problem?
    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    You mentioned an URL – “https://na%20localhost/&#8221; – which does not work.

    However captions with double or single quotes work, see the demo examples here: https://wordpress-demo.arnowelzel.de/lightbox-with-photoswipe/

    Thread Starter vcb

    (@vcb)

    Thank you Arno; it’s been some time since I’ve visited the “Teufelsberg”
    To me it looks like it’s working; but not out of the box.
    So; instead of using “Teufelsberg” just use “Teufelsberg”
    *code editor screws my code:
    “Teufelsberg” is in writing: & # 8 2 2 0 ; Teufelsberg & # 8 2 2 1 ;
    *without white spaces

    • This reply was modified 1 year, 6 months ago by vcb.
    • This reply was modified 1 year, 6 months ago by vcb.
    Plugin Author Arno Welzel

    (@awelzel)

    These quotes work here as well – see the first gallery at https://wordpress-demo.arnowelzel.de/lightbox-with-photoswipe/ with the very first image. I added the typographic guotes in the caption.

    So I don’t know what to check. It would help if you have an example where the problem can be seen live. Maybe your database or server setup does not handle UTF8 properly.

    Thread Starter vcb

    (@vcb)

    oh yeah; just tested different glyphs
    working: ? “

    Thank you very much for your offer to help. This project uses a lot of captions and when I’d use the usual ” ” it does not work; because of conflict with html ” “, as long it’s not ” it should work.

    • This reply was modified 1 year, 6 months ago by vcb.
    Thread Starter vcb

    (@vcb)

    Something seems a bit off; for some reason it does interpret “” correct within the caption text; but not when it’s in lightbox mode.

    Just use any image with some caption text which uses (TEST ?J L“)
    Result: Caption text (without lightbox mode active) = correct
    Captions in Lightbox mode = incorrect
    Input is the same, any clue why this happens?

    Test ?J L“ – this should also look like this in inspector/html source code

    • This reply was modified 1 year, 6 months ago by vcb.
    Thread Starter vcb

    (@vcb)

    @arno ; I can’t even really send you the correct code because this funny texteditor does not allow it ;/

    I sent you a mail with the problem. ty

    • This reply was modified 1 year, 6 months ago by vcb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using ” apostrophe ” in captions breaks plugin’ is closed to new replies.