version 1.90, 2008/10/14 10:37:19
|
version 1.91, 2008/10/14 16:28:45
|
Line 120 Element Template_InsertBagChild (Documen
|
Line 120 Element Template_InsertBagChild (Documen
|
} |
} |
|
|
selType = TtaGetElementType (sel); |
selType = TtaGetElementType (sel); |
if (decl->blockLevel && |
if (decl->blockLevel == 2 && |
(TtaIsLeaf (selType) || !IsTemplateElement (sel))) |
(TtaIsLeaf (selType) || !IsTemplateElement (sel))) |
{ |
{ |
// force the insertion of a block level element at the right position |
// force the insertion of a block level element at the right position |
Line 947 Element InstantiateUse (XTigerTemplate t
|
Line 947 Element InstantiateUse (XTigerTemplate t
|
} |
} |
} |
} |
} |
} |
|
else |
|
{ |
|
// insert almost a pseudo element |
|
elType.ElTypeNum = Template_EL_TemplateObject; |
|
cont = TtaNewElement (doc, elType); |
|
TtaInsertFirstChild (&cont, el, doc); |
|
} |
TtaFreeMemory (text); |
TtaFreeMemory (text); |
TtaFreeMemory (types); |
TtaFreeMemory (types); |
|
|