• The plug-in is working great mostly — except for the Description area.

    I’ve formatted the ‘Description’ area in the calendar using HTML (p, br, , etc), it mostly works.

    I know somewhere it’s reformatting the Description:

    becomes

    Annoying. But also:

    becomes

    Totally unusable.

    I’ve been wading through the PHP, but I can’t figure out where it’s getting messed up. Any thoughts would be very much appreciated!

    Thanks,
    Christina

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lalaalaaa

    (@lalaalaaa)

    Whoops! Let’s try that again: <p>The plug-in is working great mostly — except for the Description area.</p>

    I’ve formatted the ‘Description’ area in the calendar using HTML (p, br, , etc), it mostly works.

    I know somewhere it’s reformatting the Description:
    <br /> becomes
    <br />

    Annoying. But also:
    <a href="example.com"> becomes
    <a href="\"example.com\"">

    Totally unusable.

    I’ve been wading through the PHP, but I can’t figure out where it’s getting messed up. Any thoughts would be very much appreciated!

    Thanks,
    Christina

    Thread Starter lalaalaaa

    (@lalaalaaa)

    The second <br /> should have no space and close.
    (WordPress corrected the format!)

    Christina,
    I suggest you check whatever you are using to create the ical file, and inspect the ics file that it produces.

    You may find that the problem lies there. Some ical generators do not handle html well at all – Google calendar basically just tosses it away. Thunderbird echoes it as html/straight text – does not present it as one would expect. However if one exports that ics file with html in it, the plugin deals with it without a problem – the html validates.

    As you can see in this example from the google eccentric holidays, the plugin has no problem with a variety of URLs. https://icalevents.anmari.com/2055-eccentric-holidays/.

    See also https://icalevents.anmari.com/2104-html-in-ics-files/

    PS: there is actually no need to “href” any urls – if they are properly formatted, the plugin will convert them to hyperlinks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: AmR iCal Events List] Error in HTML description formatting’ is closed to new replies.