• Resolved billc108

    (@billc108)


    I’m testing this plugin out and just discovered a bug.

    Have a look at the referenced page. When Accessible Reading is enabled, I get an extra line break or two in the middle of the word “our” in the next to last sentence.

    Inspecting the code, I can see that it actually throws in an extra DIV in at that point. There is no div at that location in the original text.

    I’ve only seen this on the one post so far, but I haven’t look through all the posts yet.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ah, that would likely be because the free API from Bionic Reading? has a character limit per API request.

    I’m guessing the plugin had to use 2 requests and the API, it tries to be smart, will wrap the content in divs (not something the plugin controls).

    I’ll look into some programmatic solutions but a workaround is to separate your content into shorter paragraphs. My plugin tries to look for those to have cleaner breaks when content is too long for a single API request.

    I too have this problem, especially with accordion content, so I’m looking into possible solutions ??

    I wanted to follow up because I updated the algorithm in version 2.0.0 released yesterday to hopefully address the breaks in mid-sentence or mid-word. Please let me know if this fixes it for you.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line break created in middle of word’ is closed to new replies.