|
Home > Archive > Microsoft Content Management Server > October 2006 > <P> tag appearing randomly in Placeholders
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
<P> tag appearing randomly in Placeholders
|
|
| Arjuna 2006-10-18, 7:22 am |
| Hi,
When I create a new Posting and insert some text into the Placeholder there
is no <P> tag with the associated HTML (I switch to HTML view and view the
source). When I go back and edit the Placeholder content CMS has introduced a
<P> tag into the Placeholder (The tag in troduced sourrouding the text). This
is very confusing because it messes up the layout of the Page. Is there
anyway in which I can get a consistant layout.
Thanks
Arjuna.
| |
| Stefan [MSFT] 2006-10-18, 1:23 pm |
| Hi Arjuna,
this behaviour is by design.
You can either use a workflow event or a custom placeholder control to strip
out these unwanted tags.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:AFEEAA95-4366-476D-964A-62E02DB14849@microsoft.com...
> Hi,
> When I create a new Posting and insert some text into the Placeholder
> there
> is no <P> tag with the associated HTML (I switch to HTML view and view the
> source). When I go back and edit the Placeholder content CMS has
> introduced a
> <P> tag into the Placeholder (The tag in troduced sourrouding the text).
> This
> is very confusing because it messes up the layout of the Page. Is there
> anyway in which I can get a consistant layout.
>
> Thanks
> Arjuna.
| |
| Stefan [MSFT] 2006-10-18, 1:23 pm |
| Hi Arjuna,
just remembered that I already provided code to solve this:
http://blogs.technet.com/stefan_gos.../12/407637.aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:AFEEAA95-4366-476D-964A-62E02DB14849@microsoft.com...
> Hi,
> When I create a new Posting and insert some text into the Placeholder
> there
> is no <P> tag with the associated HTML (I switch to HTML view and view the
> source). When I go back and edit the Placeholder content CMS has
> introduced a
> <P> tag into the Placeholder (The tag in troduced sourrouding the text).
> This
> is very confusing because it messes up the layout of the Page. Is there
> anyway in which I can get a consistant layout.
>
> Thanks
> Arjuna.
| |
| Arjuna 2006-10-18, 7:28 pm |
| Hi Stefan,
Its not that the tags <P> are not wanted. What I want is a consistant
behavior. What I noticed is that when editing a Placeholder for the first
time the Placeholder does not put a <P> tag. When editing a seond time it
puts the <P> tag. This gives me different layouts in the page when editing
the first time and when subsequently editing.
Why is this behavior as design. Whats the purpose in this.
Thanks
Arjuna.
"Stefan [MSFT]" wrote:
> Hi Arjuna,
>
> this behaviour is by design.
> You can either use a workflow event or a custom placeholder control to strip
> out these unwanted tags.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:AFEEAA95-4366-476D-964A-62E02DB14849@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-10-18, 7:28 pm |
| Hi Arjuna,
there is no special purpose for this.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:E965EEF4-895F-4E50-A9DB-F9C9D251815D@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Its not that the tags <P> are not wanted. What I want is a consistant
> behavior. What I noticed is that when editing a Placeholder for the first
> time the Placeholder does not put a <P> tag. When editing a seond time it
> puts the <P> tag. This gives me different layouts in the page when editing
> the first time and when subsequently editing.
> Why is this behavior as design. Whats the purpose in this.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|
|