Than <pre> is the issues, as it 'll display the content (inside it) as it 
is .. making it preformated.
can't guess how you got your code wrapped in it in the first place.

Thanks

On Tuesday, January 8, 2013 6:29:53 AM UTC+5, Ryoichiro Kamiya wrote:
>
> Thanks jjmutumi, stauros!
>
> I am not using "autoescape" tag in my template. Thanks.
>
> I am just checking the source on the back of HTML source displayed with 
> Firebug as jmutumi suggested.
> It seemed an auto-inserted <pre> tag before & after the source. (Please 
> find the attached. thanks)
>
> Any ideas how this can be added?
>
> Ryo
>
> On Monday, January 7, 2013 5:22:30 AM UTC+9, stauros wrote:
>>
>> Hello,
>> maybe any "autoescape"  template tags on the wrong spot?
>>
>>
>> On Sun, Jan 6, 2013 at 9:46 PM, Joseph Mutumi <jjmu...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I think you should also check the 'Content-Type' being received 
>>> client-side
>>> in the HTTP headers. You can use something curl or Firebug.
>>>
>>>
>>> On Sun, Jan 6, 2013 at 1:40 PM, Ryoichiro Kamiya 
>>> <ryoichir...@gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm testing Django template rendering in development environment, but 
>>>> one of the page shows HTML source (after all Django tag executed) instead 
>>>> of HTML.
>>>>
>>>> 1. Content Type
>>>> The first thing I check is the Content Type but it's correctly set up 
>>>> (and it's in header template and shared with other pages that show 
>>>> contents 
>>>> correctly.
>>>>
>>>> <meta http-equiv="Content-Type" content="text/html" charset="utf-8">
>>>>
>>>>
>>>> When I copied & pasted to another template and it works.
>>>>
>>>>
>>>> 2. Browser
>>>>
>>>> I checked it in another browser (i.e. Chrome) but it returned the same 
>>>> result.
>>>>
>>>>
>>>> 3. Reboot runserver
>>>>
>>>> also it didn't change the output.
>>>>
>>>>
>>>> Is there anything else I should check?
>>>>
>>>> Thanks in advance.
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Ryo
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Django users" group.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msg/django-users/-/FyjKgMAxm0YJ.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> To unsubscribe from this group, send email to 
>>>> django-users...@googlegroups.com.
>>>> For more options, visit this group at 
>>>> http://groups.google.com/group/django-users?hl=en.
>>>>
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To post to this group, send email to django...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>>
>> -- 
>> Stavros 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Ac5cQ5JHsfcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to