HTML edited when I update draft

  • Unknown's avatar

    I’m trying to add a multi-tiered bullet list to an article, yet whenever I hit “update draft” everything I’ve been working on is reset and looks nothing like how it did in the editor. My tiers are removed, spaces are put in I don’t want, and the whole thing just looks ugly. I’ve tried fixing the tags using the visual editor and the HTML editor, and in both cases it just removes whatever I’ve changed and adds in whatever it wants.

  • Unknown's avatar

    This is the HTML of how I wrote it to look:

    <ul>
    <li>Over 140 thousand viewers caught, most along the coast of California.
    <ul>
    <li>Busiest catch: February 15th, 2011 with the article about <a href="http://mmofallout.com/2011/02/11/second-star-interactive-dark-age-of-camelot-ultima-online/">Second Star Interactive</a></li>
    <li>MMO Fallout looks to break an annual viewership of 100,000 in 2011, and will beat last year's traffic by August.</li>
    </ul>
    </li>
    <li>800+ articles posted (That’s one every day, with change!)
    <ul>
    <li>These posts spread out over 90 categories.</li>
    </ul>
    <ul>
    <li>Those posts further break down into over 1,400 tags.</li>
    </ul>
    <ul>
    <li>The most popular tag is "Sony Online Entertainment" with 74 articles linked.</li>
    </ul>
    </li>
    <li>More than 325 comments posted.
    <ul>
    <li>Akismet caught 13,794 spam comments, a 900% increase in spam attempts.</li>
    </ul>
    </li>
    <li>MMO Fallout currently tracks over 70 MMOs</li>
    </ul>
    <ul>
    <li>The most popular game was Champions Online for a second year running.</li>
    </ul>
    <li>The following MMOs launched since last year, among others:</li>
    <ul>
    <li>DC Universe</li>
    <li>Earthrise</li>
    <li>Free Realms (PS3)</li>
    <li>Final Fantasy XIV</li>
    <li>Gods & Heroes</li>
    <li>Hello Kitty Online</li>
    <li>Lego Universe Online</li>
    <li>Perpetuum</li>
    <li>Rift</li>
    <li>Star Wars: Clone Wars Adventures</li>
    <li>Vindictus</li>
    <li>Xsyon 2012</li>
    <li>World of Tanks</li>
    </ul>
    <li>The following titles shut down since last year, among others:</li>
    <ul>
    <li>All Points Bulletin</li>
    <li>Chronicles of Spellborn</li>
    <li>Earth Eternal</li>
    <li>Exteel</li>
    <li>Fantasy Earth Zero</li>
    <li>Lineage (in west)</li>
    <li>The Agency (pre-release)</li>
    </ul>
    <li>The following titles transitioned/are transitioning to free to play:</li>
    <ul>
    <li>Age of Conan</li>
    <li>Alganon</li>
    <li>APB: Reloaded</li>
    <li>Champions Online</li>
    <li>Everquest II</li>
    <li>Fallen Earth</li>
    <li>Global Agenda</li>
    <li>Hellgate Global</li>
    <li>Pirates of the Burning Sea</li>
    </ul>
  • Unknown's avatar

    Sorry. This is what it edits to after I hit “save draft”

    <ul>
    	<li>Over 140 thousand viewers caught, most along the coast of California.
    <ul>
    	<li>Busiest catch: February 15th, 2011 with the article about <a href="http://mmofallout.com/2011/02/11/second-star-interactive-dark-age-of-camelot-ultima-online/">Second Star Interactive</a></li>
    	<li>MMO Fallout looks to break an annual viewership of 100,000 in 2011, and will beat last year's traffic by August.</li>
    </ul>
    </li>
    	<li>800+ articles posted (That’s one every day, with change!)
    <ul>
    	<li>These posts spread out over 90 categories.</li>
    </ul>
    <ul>
    	<li>Those posts further break down into over 1,400 tags.</li>
    </ul>
    <ul>
    	<li>The most popular tag is "Sony Online Entertainment" with 74 articles linked.</li>
    </ul>
    </li>
    	<li>More than 325 comments posted.
    <ul>
    	<li>Akismet caught 13,794 spam comments, a 900% increase in spam attempts.</li>
    </ul>
    </li>
    	<li>MMO Fallout currently tracks over 70 MMOs</li>
    </ul>
    <ul>
    	<li>The most popular game was Champions Online for a second year running.</li>
    	<li>The following MMOs launched since last year, among others:</li>
    </ul>
    <ul>
    	<li>DC Universe</li>
    	<li>Earthrise</li>
    	<li>Free Realms (PS3)</li>
    	<li>Final Fantasy XIV</li>
    	<li>Gods & Heroes</li>
    	<li>Hello Kitty Online</li>
    	<li>Lego Universe Online</li>
    	<li>Perpetuum</li>
    	<li>Rift</li>
    	<li>Star Wars: Clone Wars Adventures</li>
    	<li>Vindictus</li>
    	<li>Xsyon 2012</li>
    	<li>World of Tanks</li>
    	<li>The following titles shut down since last year, among others:</li>
    </ul>
    <ul>
    	<li>All Points Bulletin</li>
    	<li>Chronicles of Spellborn</li>
    	<li>Earth Eternal</li>
    	<li>Exteel</li>
    	<li>Fantasy Earth Zero</li>
    	<li>Lineage (in west)</li>
    	<li>The Agency (pre-release)</li>
    	<li>The following titles transitioned/are transitioning to free to play:</li>
    </ul>
    <ul>
    	<li>Age of Conan</li>
    	<li>Alganon</li>
    	<li>APB: Reloaded</li>
    	<li>Champions Online</li>
    	<li>Everquest II</li>
    	<li>Fallen Earth</li>
    	<li>Global Agenda</li>
    	<li>Hellgate Global</li>
    	<li>Pirates of the Burning Sea</li>
    </ul>
  • Unknown's avatar

    this is bugging my eyes out
    but it looks like you entered an error on line 6 and 7, 2 thru 3.

    it has to follow the logic with the closed tags in and then outward.

    <ul> ... <li> ...</li>...</ul>

    and it does appear that the code you put in does. then the editor tries to correct it.

    li is “line item” and the “ul” is unordered list. the “li” element must be closed inside the “ul” and “/ul” tags

  • Unknown's avatar

    you can have

    <ul>..<li>..</li>.. <ul>....</ul>..</ul>

    but you cant have

    <ul>.. <li>.. <ul>..</ul> ..</li>...

    for example
    you must close the line item element before starting a new unorganized list element.

  • Unknown's avatar

    So your clear: line 2 should be

    <li>Over 140 thousand viewers caught, most along the coast of California.</li>

    scroll down you have

    </li>
    <li>800+ articles posted (That’s one every day, with change!)

    should be

    <li>800+ articles posted (That’s one every day, with change!) </i>

  • Unknown's avatar

    pardon….that last code should be:

    <li>800+ articles posted (That’s one every day, with change!) </li>

  • Unknown's avatar

    @dlager: Not when you want nested lists. See here, under Lists:

    Codes useful for text widgets

  • Unknown's avatar

    well thats I come to the forums,
    I guess, to learn new things. I was unaware that you could that, I always just a new unordered list inside a unordered list, not inside a line item.

    just ignore what I said.

  • Unknown's avatar

    @ panos it still looks to me that there is a
    </li>
    with no
    <li>
    before it… its on line 7, the instance i mentioned in the comment before yours.
    If I am right, that maybe why the editor is trying to correct the code.
    maybe you can see it for a solution.

  • Unknown's avatar

    I’m sorry its the “/li” on line 18.

  • Unknown's avatar

    @dlager: I only replied to your post – I didn’t and I won’t bother checking the “bugging-my-eyes-out” stuff.

  • The topic ‘HTML edited when I update draft’ is closed to new replies.