Lines Matching full:tag
6 use ComboStrap\Tag\AdTag;
7 use ComboStrap\Tag\BackgroundTag;
8 use ComboStrap\Tag\BarTag;
9 use ComboStrap\Tag\BoxTag;
10 use ComboStrap\Tag\FollowTag;
11 use ComboStrap\Tag\MermaidTag;
12 use ComboStrap\Tag\RelatedTag;
13 use ComboStrap\Tag\ShareTag;
14 use ComboStrap\Tag\SubscribeTag;
15 use ComboStrap\Tag\TableTag;
16 use ComboStrap\Tag\WebCodeTag;
33 * The start tag pattern does not allow > or /
34 * in the data to not compete with the empty tag pattern (ie <empty/>
36 * No numbers to not have a greater than `<1200` as tag
45 case BlockquoteTag::TAG:
48 case BoxTag::TAG:
60 case CarrouselTag::TAG:
67 case ContainerTag::TAG:
73 case PipelineTag::TAG:
74 case DateTag::TAG:
76 case PermalinkTag::TAG:
77 case IconTag::TAG:
80 case DropDownTag::TAG:
98 case JumbotronTag::TAG:
104 case SectionTag::TAG:
107 case TabsTag::TAG:
116 case WebCodeTag::TAG:
127 … LogUtility::warning("The exit tag (" . $logicalTag . ") is unknown and was escaped.");
134 * Static because it handle inline and block tag
145 * Logical Tag Building
185 case BlockquoteTag::TAG:
188 case BoxTag::TAG:
200 case CarrouselTag::TAG:
207 case ContainerTag::TAG:
213 case PipelineTag::TAG:
216 case DateTag::TAG:
219 case DropDownTag::TAG:
228 case JumbotronTag::TAG:
237 case SectionTag::TAG:
240 case TabsTag::TAG:
246 case PermalinkTag::TAG:
249 case HrTag::TAG:
252 case IconTag::TAG:
261 case WebCodeTag::TAG:
269 case TableTag::TAG:
272 case RelatedTag::TAG:
273 …LogUtility::warning("The related tag should be closed. You should write <related/> and not <relate…
278 … LogUtility::warning("The enter tag (" . $logicalTag . ") is unknown and was escaped.");
304 case BlockquoteTag::TAG:
309 case BoxTag::TAG:
337 case ContainerTag::TAG:
359 case JumbotronTag::TAG:
386 case TabsTag::TAG:
393 case PermalinkTag::TAG:
402 case WebCodeTag::TAG:
403 $logicalTag = Tag\WebCodeTag::TAG;
425 * Build tag Attributes
443 case BlockquoteTag::TAG:
446 case BoxTag::TAG:
458 case CarrouselTag::TAG:
464 case DateTag::TAG:
473 case PermalinkTag::TAG:
476 case IconTag::TAG:
488 $defaultReturnedArray[PluginUtility::TAG] = $logicalTag;
499 $logicalTag = $data[PluginUtility::TAG] ?? null;
572 case BlockquoteTag::TAG:
575 case BoxTag::TAG:
593 case CarrouselTag::TAG:
600 case PipelineTag::TAG:
608 case DateTag::TAG:
643 case TabsTag::TAG:
651 case PermalinkTag::TAG:
654 case IconTag::TAG:
674 case WebCodeTag::TAG:
675 $logicalTag = WebCodeTag::TAG;
688 $defaultReturnedArray[PluginUtility::TAG] = $logicalTag;
694 * @param $tag
697 * Create a lookahead pattern for a container tag used to enter in a mode
699 public static function getContainerTagPattern($tag): string argument
701 // this pattern ensure that the tag
702 // `accordion` will not intercept also the tag `accordionitem`
707 return '<' . $tag . $pattern . '(?=.*?<\/' . $tag . '>)';
713 * Logical Tag Building
720 case SearchTag::TAG:
744 case PermalinkTag::TAG:
762 case IconTag::TAG:
780 case DateTag::TAG:
783 case PermalinkTag::TAG:
789 case HrTag::TAG:
791 * Block tag
802 $defaultReturnedArray[PluginUtility::TAG] = $logicalTag;
811 $tag = $data[PluginUtility::TAG];
814 $tagAttributes = TagAttributes::createFromCallStackArray($attributes)->setLogicalTag($tag);
818 switch ($tag) {
819 case HrTag::TAG:
822 case SearchTag::TAG:
825 case IconTag::TAG:
850 case DateTag::TAG:
853 case PermalinkTag::TAG:
862 case MediaMarkup::TAG:
871 case RelatedTag::TAG:
875 … LogUtility::errorIfDevOrTest("The empty tag (" . $tag . ") was not processed.");
880 switch ($tag) {
881 case IconTag::TAG:
887 case MediaMarkup::TAG:
906 case IconTag::TAG: