Site Code inside of Site Code
Results 1 to 6 of 6

Thread: Site Code inside of Site Code

  1. #1
    King Tutorial-ankhamun
    Join Date
    Jul 2004
    Posts
    897

    Site Code inside of Site Code

    Not quite a bug, but close. How do I put site code inside of site code in an Antionline post? For example, in a tutorial Iím writing I need to show the site code for putting in a image, but including the site code inside of CODE tags does not keep the IMG tags from being show as a link to an image. Any ideas?

  2. #2
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Code tags within code tags perhaps or use the PHP tags for the img tags?
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  3. #3
    HeadShot Master N1nja Cybr1d's Avatar
    Join Date
    Jul 2003
    Location
    Boston, MA
    Posts
    1,840
    Maybe you can close the CODE tags right before the img tags, then after you're done with the img tags, reopen CODE tags and continue.

  4. #4
    King Tutorial-ankhamun
    Join Date
    Jul 2004
    Posts
    897
    Results of PHP tags:
    PHP Code:
    [img]http://www.test.com/t.jpg[/img] 
    Results of CODE tags (which I tried before starting this thread):

    Code:
    Results of CODE tags inside CODE tags with IMG tag inside of that:
    Code:
    Code:
    The PHP tags work the best so far, any other ideas?

  5. #5
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Slight space in the img tags?

    Or what about the HTML codes for [ ]?

    e.g.

    PHP Code:
    [ == [

    and 

    ] == ] 
    &#91;&#93; <-- the HTML ASCII codes
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  6. #6
    King Tutorial-ankhamun
    Join Date
    Jul 2004
    Posts
    897
    Originally posted here by MsMittens
    Slight space in the img tags?

    Or what about the HTML codes for [ ]?

    e.g.

    PHP Code:
    [ == [

    and 

    ] == ] 
    &#91;&#93; &lt;-- the HTML ASCII codes
    Test:

    That seems to work great, thanks MsMittens.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •