Hi all, I don't know if you will believe me or not but I have had this same problem for quite sometime now. If I have the word "the" in a comment with a space on both sides I get the page source in HTML, i.e. not rendered. If I remove the word "the" from the file or the space on either side the problem goes away.

This is very strange and like I said I have had this problem for a couple of years. I'm on the latest version and Apache2 with libapreq2.

I may have posted a question about this on the list a long time ago. It happens in all browsers.

-Bill
On Apr 18, 2008, at 3:05 PM, BenRifkah Bergsten-Buret wrote:

On Fri, Apr 18, 2008 at 2:09 PM, Koko Alberti <[EMAIL PROTECTED]> wrote:
Here is my entire element, filename is "fixtures":

<div id="main" style="clear:all;">
       <h3>Upcoming matches in the </h3>
</div>
<%attr>
   body    =>'fixtures'
   title    =>'Fixtures'
   inc_css =>('fixtures.css')
</%attr>

Now, if you'll turn your eyes to the </h3> tag, you'll see a space before it. Believe it or not, if I remove this space, save, and reload the entire output is fine again, back to text/html.

I'm wondering if what you pasted in came from someplace that was in a different character set and now you've got some strange characters that just appear as spaces in your editor.

Try opening a brand new file with a different name and hand typing the same contents into the new file. When you're done it should be an exact copy of what you have pasted above. It's important that you don't cheat by copying and pasting even a little bit. Its a small file so it shouldn't take long.

If you have the same problem with both files then I have no idea what to tell you. If you don't have the same problem. Then I have a feeling that you've got a strange non printable character that your editor doesn't distinguish very well.

Why this would effect the content-type is another question but it may indicate a bug somewhere in mod_perl or apache, or perhaps a feature that I'm not familiar with.

You could also try sending the file as an attachment instead of pasting it so that we can hopefully get a more accurate representation of its contents.

-- Ben -------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to