Edit detail for #558 don't hide page content when HTML/BODY tags added revision 1 of 1

1
Editor: simon
Time: 2003/09/27 21:45:34 GMT+0
Note: property change

changed:
-
When you add a full web page with HTML & BODY tags (or paste from a HTML mail client) to a zwiki page, what gets displayed is the contents of the BODY tags, within the wiki header & footer. But, this causes any previous content on the page to be hidden. It shouldn't do that. Instead, just strip out everything between HTML and BODY tags for display purposes.

Why not just strip out the HTML/BODY tags at edit time ? So  that a zwiki page can be used in place of a web page (perhaps with an empty wiki header/footer), edited with standard web editors, etc.

On the other hand, it doesn't make a great deal of sense to have a page with HTML tags starting half-way down. 

Suggestions ?

From simon Sat Sep 27 21:45:34 -0700 2003
From: simon
Date: Sat, 27 Sep 2003 21:45:34 -0700
Subject: property change
Message-ID: <[email protected]>
In-reply-to: <[email protected]>

Category: general => formatting and rendering 


Submitted by : simon at: 2003-10-26T21:32:14+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

When you add a full web page with HTML & BODY tags (or paste from a HTML mail client) to a zwiki page, what gets displayed is the contents of the BODY tags, within the wiki header & footer. But, this causes any previous content on the page to be hidden. It shouldn't do that. Instead, just strip out everything between HTML and BODY tags for display purposes.

Why not just strip out the HTML/BODY tags at edit time ? So that a zwiki page can be used in place of a web page (perhaps with an empty wiki header/footer), edited with standard web editors, etc.

On the other hand, it doesn't make a great deal of sense to have a page with HTML tags starting half-way down.

Suggestions ?


comments:

property change --simon, Sat, 27 Sep 2003 21:45:34 -0700 reply
Category: general => formatting and rendering