• Resolved bnew215

    (@bnew215)


    Hello,

    I have an issue with formatting: the , <b>, and <i> tags are not being displayed in Apple News (nothing bold or italic).

    My lists (ordered or unordered) don’t display right: the next item does not go on the next line.

    Example, from json file:
    {"role":"body","text":"<ul><li><strong>1. Item 1<\/strong><br \/>\nSome text.<\/li>\n<li><strong>2. Item 2<\/strong><br \/>\nSome text.<\/li></ul> will result in:
    Item 1 Some text. Item2 Some text.

    The plugin looks promising, so any help to get this resolved is appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bnew215

    (@bnew215)

    I was hoping for a response from one of the developers.

    I tested this with theme twenty fifteen and twenty seventeen and the problem still exists.

    My site has a cherry framework theme with Woocommerce. But it doesn’t seem to be theme-related.

    As for the bold tags for example, Apple documentation says it should be "text":"[the text you want in bold]{boldText}, but in the json file that I downloaded it is like "text":"<p><strong>the text you want in bold<\/strong>

    If you want me to send you the json file, let me know.

    Thanks!

    Thread Starter bnew215

    (@bnew215)

    If you turn off html support in the settings, then most html tags (bold, italics, links) WILL work correctly.

    Lists are displaying better, but with extra lines, bullets or strange hyphenation after the first 3 list items.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Lists are not officially supported by the plugin.

    If you’d like us to troubleshoot further, please send over the JSON for the article in question via a pastebin.com link. You can get the JSON for the article by clicking on Apple News in the WordPress sidebar, then finding the article and clicking the Download link.

    Thanks.

    Thread Starter bnew215

    (@bnew215)

    I have pasted an example JSON file here:
    https://pastebin.com/JC8zAF7p

    After the first 3-4 bullets, you’ll see extra bullets, extra lines and some of the bullets have been changed to dashes.

    Thanks!

    Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @bnew215

    The pastebin link you sent is no longer working. Can you re-send, please?

    I would also recommend upgrading to the latest version (1.2.7) and trying again with HTML support on. We fixed a publish bug related to HTML formatting which may address your issue.

    Thread Starter bnew215

    (@bnew215)

    Hi Kevin,

    The latest version has resolved this issue: I turned on html support and tried 2 articles with lists and they were formatted correctly.

    So, thank you for the update, this has been resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘, and lists not being formatted correctly’ is closed to new replies.