PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Text » Text_Wiki » Bug #8482

HTML Code surrounded by <p>

Details

Request #8482HTML Code surrounded by <p>
Submitted2006-08-16 10:49 UTC
Fromex-venom at gmx dot net
StatusOpen
PackageText_Wiki
PHP Version5.1.4
Roadmaps(Not assigned)

Comments

[2006-08-16 10:49 UTC] ex-venom at gmx dot net

Description:
------------
Hi I have Question about HTML in TextWiki

I use my own syntax for replacing IMG Tags. Similar to wiki syntax my img is replaced by the Image and its DB stored Image Description in a <div> Layer.

If I parse it I have a div Container in p Block, which is unvalid html. So I thought, replace my syntax with wiki code and than let it parse by text wiki.

Is it possible to do HTML, which is not surrounded by a <p>? Or is there a way that my own IMG Tag is ignored so that there is just my Text and no <p> block surrounded?

[2006-10-16 05:34 UTC] chris at sign dot com dot au

I also would find it useful if the <html> </html> open and close tags did not need to be on their own lines as this can upset formatting.

This currently works:
<html>
...custom html code...
</html>

However this doesn't:

<html>...custom html code...</html>

I want to include custom HTML embedded into Wiki syntax i.e.:

* Wiki syntax <html>...custom html code...</html>

Thanks for looking into this.