Forums

How do I parse a double quote so that it appears as a double quote in html? (8 posts)

  1. komirad
    Member
    Posted 2 years ago #

    " when parsed in wp function becomes html code which I dont want, I want it to output: "

    I changed my code to:<?php wp_list_bookmarks('title_before=<div class=sideBarModuleHeader>&title_after=</div><div class=sideBarModuleContent>&category_before=<div class=sideBarModule>&category_after=</div></div>'); ?>

    Which is not xhtml valid, need help on this

  2. whooami
    Member
    Posted 2 years ago #

    your example quotes above are the same. Are you trying to **not** get fancy quotes?

  3. komirad
    Member
    Posted 2 years ago #

    I am trying to not get the html code output like ", but "

  4. komirad
    Member
    Posted 2 years ago #

    oops & q u o t ; without spaces, this forum is making it into "

  5. whooami
    Member
    Posted 2 years ago #

    hang on, I think I understand what you are trying to do.

    Are you trying to put quote marks around the div classes in your example above???

  6. komirad
    Member
    Posted 2 years ago #

    Yes, I am but if I put " in the function it comes up as &q-uot

  7. komirad
    Member
    Posted 2 years ago #

    Anyone?

  8. marktastic
    Member
    Posted 2 years ago #

    Not quite sure I understand, but can you just escape the quote like this: \"

Topic Closed

This topic has been closed to new replies.

About this Topic