In version 12 standard variables now have embedded styling in them
For example, FragmentTitle has
<actinic:variable formatting="h2" name="FragmentTitle" />
Which would basically create <h2>Title Text</h2> when HTML page created. This application is not helpful to bespoke sites. As it means bespoke websites that have custom fragments that might have for example:
<h3><actinic:variable name="FragmentTitle" /></h3>
would affectively become on upgrades
<h3><actinic:variable formatting="h2" name="FragmentTitle" />my header</h3>
Producing invalid code of:
<h3><h2>My Header</h2></h3>
Furthermore, if for FragmentText variables you have applied formatting of P tag but in the fragment text box a user has added loads of HTML code this will then surely cause problems?
This gripe comes after spending 2 hours trying to fix a CSS issue only to discover the reason for the styling issue is because of nested TAGs created by this new approach as stated above.
For example, FragmentTitle has
<actinic:variable formatting="h2" name="FragmentTitle" />
Which would basically create <h2>Title Text</h2> when HTML page created. This application is not helpful to bespoke sites. As it means bespoke websites that have custom fragments that might have for example:
<h3><actinic:variable name="FragmentTitle" /></h3>
would affectively become on upgrades
<h3><actinic:variable formatting="h2" name="FragmentTitle" />my header</h3>
Producing invalid code of:
<h3><h2>My Header</h2></h3>
Furthermore, if for FragmentText variables you have applied formatting of P tag but in the fragment text box a user has added loads of HTML code this will then surely cause problems?
This gripe comes after spending 2 hours trying to fix a CSS issue only to discover the reason for the styling issue is because of nested TAGs created by this new approach as stated above.
Comment