mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
TinyMce/MediaManager fixes.
This commit is contained in:
@@ -45,12 +45,9 @@ class bb_h extends e_bb_base
|
||||
}
|
||||
if($safe)
|
||||
{
|
||||
return '[h'.$h.'|'.eHelper::buildAttr($safe).']'.$code_text.'[/h'.$h.']';
|
||||
return '[h='.$h.'|'.eHelper::buildAttr($safe).']'.$code_text.'[/h]';
|
||||
}
|
||||
return '[h'.$h.']'.$code_text.'[/h'.$h.']';
|
||||
|
||||
// IMPORTANT: Using '[h=2]' with a non-matching closing tag etc will cause major issues with TinyMce.
|
||||
// It is cleaner to use [h2], [h3] etc. TODO - Batch BBcodes. ;-)
|
||||
return '[h='.$h.']'.$code_text.'[/h]';
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user