-
AuthorPosts
-
May 22, 2017 at 10:02 pm #797924
Hello,
I want to report a bug. If you are in the regular text editor, in the text tab, (dealing with the code itself) and you put this code in –
<ol> <!--more--> </ol>
Then click on the visual tab, a bunch of other junk is added and it will break the ordered list. For example if you have 1,2,3,4 and you put it between 2 and 3, then it’ll turn into 1,2,1,2. This doesn’t happen with ul or li tags. Just if it’s between ol tags.
You can see the problem on my website and in the code below – it adds the code that breaks it automatically. You may want to try it for yourself on an enfold test post you make.
<h3>Installing the Operating System</h3> <ol> <li style="list-style-type: none;"> <ol> <li>Download the ISO <ul> <li><a href="https://arch-anywhere.org/download">https://arch-anywhere.org/download</a></li> </ul> </li> <li>Create a bootable usb drive with the iso <ul> <li>if you are in ubuntu you can double click on the iso to bring up that prompt</li> <li>if you are in windows you can use rufus <a href="https://rufus.akeo.ie/">https://rufus.akeo.ie</a></li> </ul> </li> </ol> </li> </ol> <!--more--> <ol> <li>Boot into the usb drive on the computer/server you are going to install it on</li> <li>type 'arch-anywhere' at the prompt and press enter</li>
- This topic was modified 7 years, 5 months ago by feoleb.
May 23, 2017 at 12:41 am #797994Hey feoleb,
Have you tried using the code block element to insert this code?
Best regards,
Jordan ShannonMay 23, 2017 at 3:50 pm #798334Yah it doesn’t work. It’s broken if you stick that code in between
<ol></ol>
tags.- This reply was modified 7 years, 5 months ago by feoleb.
May 23, 2017 at 6:13 pm #798417Hi,
Is this what you are looking to achieve? https://snag.gy/8Vkbw0.jpg
Best regards,
Jordan ShannonMay 23, 2017 at 10:24 pm #798539Hello Jordan,
No that list is broken. If you place the more tag in between two ol tags, it breaks the ol tags. It breaks the order. It stops functioning properly. It makes the numbers stop and then start over again from scratch. You can test this for yourself by placing a more tag in between some ol tags in enfold and then viewing the visual tab. It will interrupt the numbers and make them start again. If you look back in the text tab, you can then see all of the additional code that was added that you did not add. It was added automatically and it should be not be.
Thanks,
BrendonMay 23, 2017 at 10:58 pm #798553Hi,
The thing is that was done within notepad, so this may not be a bug specific to Enfold. Have you attempted this in a text editor or different theme?
Best regards,
Jordan ShannonMay 25, 2017 at 3:45 pm #799610Hello,
Could you test this? You would just have to make a post with a few numbered list items, stick a <!–more–> tag in between two of the numbers, and update the page.
<ol> <li>something1</li> <!--more--> <li>something2</li> </ol>
If it shows numbers 1 and 2, then the problem must be on my end. If it shows 1 and 1, then the problem is with the theme.
Thanks,
Brendon
May 25, 2017 at 5:19 pm #799656Hi,
Yes, it displayed correctly on my end. Please see the following:
Best regards,
Jordan ShannonMay 25, 2017 at 5:36 pm #799664Ok thanks I appreciate it. Must be something on my end
May 25, 2017 at 5:39 pm #799667Hi,
No problem at all. I hope you are able to get this solved, I will leave this thread opened for when and if a solution is found.
Best regards,
Jordan ShannonMay 25, 2017 at 5:40 pm #799669Actually, did you click on the text tab and then back to the visual tab after setting that up? That’s what breaks it for me. If I insert it via text and then click update, it works. If I insert it via text and then click on the visual tab, it breaks it.
May 25, 2017 at 5:48 pm #799676I’ve confirmed this is a problem on different hosting platforms with different versions of enfold. If you put in the code via text, then click visual, it breaks the ordered list.
If you put this code in via the text tab
<ol> <li>option 1</li> <!--more--> <li>option 2</li> </ol>
Then click the visual tab you can see it’s broken. If you click back to the text tab, you will now see this code.
<ol> <li style="list-style-type: none"> <ol> <li>option 1</li> </ol> </li> </ol> <!--more--> <ol> <li>option 2</li> </ol>
May 25, 2017 at 6:05 pm #799685Hi,
I see now. It does the same thing with the default WordPress as well. Please see for yourself if you haven’t tried already.
It’s important to note that the Text tab is NOT a code/source/HTML editor. It supports some markup, true, but is not a reliable way to build a page with raw HTML, nor is it intended to be.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.