Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
Found this content helpful? Log in or sign up to leave a like!
First level list element jump tags remain after saving, and work. Jump tags on second level list elements are deleted after saving. What gives?
<ul style="list-style-type: circle;">
<li>
<span style="font-size: 18pt; color: #000000;"><a style="color: #000000;" href="#section_1">First</a></span>
</li>
<li>
<span style="font-size: 18pt; color: #000000;"><a style="color: #000000;" href="#section_2">Second</a></span>
</li>
<li>
<span style="font-size: 18pt; color: #000000;"><a style="color: #000000;" href="#section_3">Third</a></span>
</li>
<ul style="list-style-type: circle;">
<li>
<strong><span style="font-size: 12pt; color: #000000;" href="#section_3A">Third A </span></strong>
</li>
<li>
<strong><span style="font-size: 12pt; color: #000000;" href="#section_3B">Third B </span></strong>
</li>
<li>
<strong><span style="font-size: 12pt; color: #000000;" href="#section_3C">Third D </span></strong>
</li>
</ul>
</ul>
Solved! Go to Solution.
Hi @Andreas_Hopf,
I think this is perhaps just a difference in html that you may have overlooked. IN your first-level elements, you have the href as part of the "a" tag, which I believe is the correct syntax. In your second level, you have the href as part of a span tag, which I don't think is proper code and is likely why Canvas is stripping it out. If you format the second level like the first with an a tag, I think everything should work.
Let us know if this fixes the issue!
-Chris
Hi @Andreas_Hopf,
I think this is perhaps just a difference in html that you may have overlooked. IN your first-level elements, you have the href as part of the "a" tag, which I believe is the correct syntax. In your second level, you have the href as part of a span tag, which I don't think is proper code and is likely why Canvas is stripping it out. If you format the second level like the first with an a tag, I think everything should work.
Let us know if this fixes the issue!
-Chris
Thanks, yes, I overlooked the "a" tag thing.
Futzing around in the HTML I noticed that Canvas creates fairly bloated HTML code compared to our university's own Wordpress site.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In