ahmedkaludi / easy-table-of-contents

WordPress plugin which adds a user friendly and fully automatic way to create and display a table of contents from the page content.
http://connections-pro.com
68 stars 46 forks source link

Preserve-Linebreaks is broken. #806

Closed nashitbarq closed 1 month ago

nashitbarq commented 2 months ago

I use this feature on Urdu text, and it was working perfectly before. But since the latest update, it is broken. Here is how it looks like on version 2.0.69:

Screenshot 2024-09-02 172015

The highlighted parts are supposed to be on the new line.

I tested the previous version by downgrading the plugin to 2.0.59 and it worked perfectly. Here, the highlighted parts are appearing on a new line, the way it is supposed to work:

Screenshot 2024-09-02 174504

Link for demonstrated screenshot-page: https://aadhibaat.org/zarb-e-kaleem-71-maqsood/ (the site is using version 2.0.59 for now)

Sanjeevsetu commented 2 months ago

Hi @nashitbarq

Thanks for reporting the bug. Could you please contact through https://tocwp.com/contact/ for better understanding of issue.

nashitbarq commented 2 months ago

Thank you for response, I have contacted through the provided link. Awaiting your kind response.

Also, I have noticed that version 2.0.69 is doing something strange; it joins the last letter of first line with the last first letter of second line

for example

Screenshot 2024-09-03 200155

@Sanjeevsetu

Sanjeevsetu commented 2 months ago

Hi @nashitbarq

We just committed the fix for this ticket. You can see above commit reference. It will be released in 2.0.70

akshaywali commented 1 month ago

Pushed in 2.0.70