- node2bbcode($doc, 'span', array('style'=>'text-decoration: underline;'), '_', '_');
- node2bbcode($doc, 'span', array('style'=>'font-style: italic;'), '/', '/');
- node2bbcode($doc, 'span', array('style'=>'font-weight: bold;'), '*', '*');
-
- node2bbcode($doc, 'strong', array(), '*', '*');
- node2bbcode($doc, 'b', array(), '*', '*');
- node2bbcode($doc, 'i', array(), '/', '/');
- node2bbcode($doc, 'u', array(), '_', '_');
- */
-
- if ($compact)
- node2bbcode($doc, 'blockquote', array(), "»", "«");
- else
- node2bbcode($doc, 'blockquote', array(), '[quote]', "[/quote]\n");
+ node2bbcode($doc, 'span', array('style'=>'text-decoration: underline;'), '_', '_');
+ node2bbcode($doc, 'span', array('style'=>'font-style: italic;'), '/', '/');
+ node2bbcode($doc, 'span', array('style'=>'font-weight: bold;'), '*', '*');
+
+ node2bbcode($doc, 'strong', array(), '*', '*');
+ node2bbcode($doc, 'b', array(), '*', '*');
+ node2bbcode($doc, 'i', array(), '/', '/');
+ node2bbcode($doc, 'u', array(), '_', '_');
+ */
+
+ if ($compact) {
+ node2bbcode($doc, 'blockquote', [], "»", "«");
+ } else {
+ node2bbcode($doc, 'blockquote', [], '[quote]', "[/quote]\n");
+ }