Not yet a member? No problem!
Sign-up just takes a second.
Forgot your password?
Recover it now.
Already signed up?
Log in now.
Forgot your password?
Recover it now.
Not yet a member? No problem!
Sign-up just takes a second.
Remember your password?
Log in now.
10 Comments
Ok, question, did you hit submit? the preview window is wrong on like 90% of the stuff I type. But i know my html, so I hit submit, and everything is cool. Here is your demo ok.
And it works.
ok .
haha.. very funny universe. i did just find out the <A HREF= > only works with http:// and not say images/here.jpg or probably even ftp
hmm.. well I'm pretty sure it munged one of my URL's, because I did get a 404 after submitting one. I'm good with HTML, don't think I messed it up.
In any case there is a lot of cognitive dissonance when the preview is inaccurate and it looks like your links are hosed.
I'll try the HTML from the screen shot:
Here is the First URL. Here is the Second URL
^^ Yeah, they're messed up... I think. I've seen them messed up and now it seems fine. Maybe they're hacking the PHP.
i dunno.. operator error? ditch the quotes, you don't need them.
Thanks for pointing this out, winkler1. It appears to only be a bug with the live preview code as the links you posted look fine on the freshly loaded page.
We'll take care of it when possible.
You, however, have confused me, joeyd. I don't see anything wrong with putting anything into the 'href' attribute of the 'a' tag. Actually, you don't even have to put anything in it for it to work...
my last post would disagree. Now, I don't think it is a problem, cause why would you leave off the http even for local linking, you can just throw it in, user probably don't need to link to relative links.
example <A HREF=test>test</A> (this is written with <
test (this is code)
http:/test (this is code)
image (this is code)
>>ditch the quotes, you don't need them
You do need quotes for the preview to work. I smell a regular expression
you single quotes which seem to work good. (')
ditch the quotes, you don't need them
Not so, says the W3C. We like to promote valid code here, and leaving off the quotes is not valid HTML. So, in short, yes, it's operator (syntax) error to exclude quotes surrounding any tag attribute's value.
only works with http://
To reiterate, it only works with valid HTML (quotes required) and has nothing to do with the presence or lack of http://.
This parse bug has been corrected. Please notify if you notice anything else fishy about commenting.
Thanks!
Discuss...
Enable JavaScript to submit a comment.