Jump to content

Problem with the code tag?


Recommended Posts

Hey all,

 

I just signed up because I wanted to reply to some comments on some tutorials. Anyhow if you look at my response on http://www.phpfreaks.com/tutorials/44/5.php?topic_id=6568#top then you'll see the 'code' section screwed up. It should've looked like proper XML;

 

<site>

  ....

</site>

but it hasn't saved/displayed the < > tags correctly, or the quotes. Presumably this is down to some functions trying to stip HTML on saving, but then not displaying it correctly when within code tags as it uses a < pre > tag. If you look in the source you can see it is actually rendering '&lt;' therefore it renders & as & and is left with lt; which means nothing in html so it just displays the text. Somewhere the < has been saved as < and then that has been saved as &lt;.

 

Could this be corrected please? If not, could you remove that response of mine and I'll repost later without using the code tag.

 

Oh I'd also really appreciate a preview option when posting comments!

 

Cheers,

~ickz~

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.