Skip to main content
cleanup trying to make it better readable
Source Link
Bart Koopman
  • 29.6k
  • 3
  • 40
  • 90

not able to add <h2>`<h2>` tag through dwt code

I have to put main heading in <h2> tag. I have written following line of code

<li>&lt;h2&gt;@@GetResourceComponentFieldValueByWebDavURL<li>&lt;h2&gt;
@@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@&lt;@@
&lt;/h2&gt;</li>

It reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as string rather than html tag and browser in showing them on the site.

Anyone is having idea what wrong is here? below is snippet how it appears on site..

  • it reads label of RecipeDetail_Ingredient from resource Component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as sting rather than html tag and browser in showing them on the site. Anyone is having idea what wrong is here? below is snippet how it appears on site..

enter image description here

not able to add <h2> tag through dwt code

I have to put main heading in <h2> tag. I have written following line of code

<li>&lt;h2&gt;@@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@&lt;/h2&gt;</li>

It reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as string rather than html tag and browser in showing them on the site.

Anyone is having idea what wrong is here? below is snippet how it appears on site..

enter image description here

not able to add `<h2>` tag through dwt code

I have to put main heading in <h2> tag. I have written following line of code

<li>&lt;h2&gt;
@@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@
&lt;/h2&gt;</li>
  • it reads label of RecipeDetail_Ingredient from resource Component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as sting rather than html tag and browser in showing them on the site. Anyone is having idea what wrong is here? below is snippet how it appears on site..

enter image description here

Formatted the html and corrected the look n feel
Source Link
Siva Charan
  • 4.3k
  • 1
  • 20
  • 36

I have to put main heading in tag<h2> tag. I have written following line of code

  • <h2> @@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@ </h2>
  • <li>&lt;h2&gt;@@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@&lt;/h2&gt;</li>
    
    • it reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see tags are appearing but they are being treated as sting rather than html tag and browser in showing them on the site. Anyone is having idea what wrong is here? below is snippet how it appears on site..

    It reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as string rather than html tag and browser in showing them on the site.

    Anyone is having idea what wrong is here? below is snippet how it appears on site..

    enter image description here

    I have to put main heading in tag. I have written following line of code

  • <h2> @@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@ </h2>
    • it reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see tags are appearing but they are being treated as sting rather than html tag and browser in showing them on the site. Anyone is having idea what wrong is here? below is snippet how it appears on site..

    enter image description here

    I have to put main heading in <h2> tag. I have written following line of code

    <li>&lt;h2&gt;@@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@&lt;/h2&gt;</li>
    

    It reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see <h2> tags are appearing but they are being treated as string rather than html tag and browser in showing them on the site.

    Anyone is having idea what wrong is here? below is snippet how it appears on site..

    enter image description here

    Source Link

    not able to add <h2> tag through dwt code

    I have to put main heading in tag. I have written following line of code

  • <h2> @@GetResourceComponentFieldValueByWebDavURL('Building%20Blocks/Content/brand_xxx/Config/Resource.xml','Resource','RecipeDetail_Ingredient')@@ </h2>
    • it reads label of RecipeDetail_Ingredient from resource component for brand_xxx . However I can see tags are appearing but they are being treated as sting rather than html tag and browser in showing them on the site. Anyone is having idea what wrong is here? below is snippet how it appears on site..

    enter image description here