n8n-nodes-notion-advanced 1.2.24-beta → 1.2.25-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -486,7 +486,17 @@ class NotionAITool {
|
|
486
486
|
const xmlTagPatterns = [
|
487
487
|
/<[^>]+>/, // Any XML/HTML tag
|
488
488
|
/<[^&]+>/, // HTML-encoded tags
|
489
|
+
// Comprehensive list of all supported XML tags
|
489
490
|
/<(h[1-6]|p|ul|ol|li|strong|em|b|i|code|blockquote|callout|todo|image|embed|bookmark|equation|toggle|divider|quote|pre)\b[^>]*>/i,
|
491
|
+
// Self-closing tags
|
492
|
+
/<(image|divider|br)\s[^>]*\/>/i,
|
493
|
+
// Specific tag patterns that should be processed hierarchically
|
494
|
+
/<callout\s*(?:type="[^"]*")?\s*>/i,
|
495
|
+
/<code\s*(?:language="[^"]*")?\s*>/i,
|
496
|
+
/<todo\s*(?:checked="[^"]*")?\s*>/i,
|
497
|
+
/<image\s+src="[^"]*"[^>]*>/i,
|
498
|
+
// Closing tags
|
499
|
+
/<\/(h[1-6]|p|ul|ol|li|strong|em|b|i|code|blockquote|callout|todo|image|embed|bookmark|equation|toggle|divider|quote|pre)>/i,
|
490
500
|
];
|
491
501
|
const hasXmlTags = xmlTagPatterns.some(pattern => pattern.test(trimmedLine));
|
492
502
|
if (hasXmlTags) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "n8n-nodes-notion-advanced",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.25-beta",
|
4
4
|
"description": "Advanced n8n Notion nodes: Full-featured workflow node + AI Agent Tool for intelligent Notion automation with 25+ block types (BETA)",
|
5
5
|
"scripts": {},
|
6
6
|
"files": [
|