Export to GitHub

iui - issue #343

<a href=""></a> tag has it's closing tag removed and href has space added


Posted on May 9, 2012 by Massive Rhino

What steps will reproduce the problem? 1. check out the pause button here: http://dl.dropbox.com/u/69188103/iui-0.40-beta2/LATESTiui-0.40-beta2/web-app/samples/minimal/minimal6.html#_NEW GAME 2. Underlying html code DOES have the closing </a> tag 3. See working version here created by wrapping an extra a tag around the image http://dl.dropbox.com/u/13196858/iui-0.40-beta2/web-app/samples/minimal/minimal6.html#_NEW GAME

What is the expected output? What do you see instead?

The expected output is the normal un-interfered with a-tag, but something is messing with it, presumably the iui.js?

What version of the product are you using? On what operating system?

0.4.0 beta on OSX 10.6.8 - hosted via dropbox

Please provide any additional information below.

updated version of file with nested a tag fix attached

Attachments

Comment #1

Posted on May 10, 2012 by Swift Monkey

This is not an iUI bug.

Check the validity of your XHTML. You are missing an ending double-quote " on an attribute and anchors like "#NEW GAME" are not allowed to have spaces in them.

If you need help getting started try asking for help on the iPhoneWebDev Google Group.

Comment #2

Posted on May 11, 2012 by Massive Rhino

apologies - had a couple of relatively experienced HTML coders looking at this for a few hours - didn't notice that missing quote - code blindness - thanks for that

Status: Invalid