includes/render.php
changeset 1343 2a31905a567d
parent 1308 f9bee9b125ee
child 1363 f1ed3e9298ae
equal deleted inserted replaced
1342:2164d18cb10c 1343:2a31905a567d
   239 		}
   239 		}
   240 		else if ( $flags & RENDER_INLINE && !($flags & RENDER_BLOCK) )
   240 		else if ( $flags & RENDER_INLINE && !($flags & RENDER_BLOCK) )
   241 		{
   241 		{
   242 			// inline only
   242 			// inline only
   243 			$carpenter->disable_all_rules();
   243 			$carpenter->disable_all_rules();
   244 			foreach ( array('bold', 'italic', 'underline', 'externalwithtext', 'externalnotext', 'image', 'internallink') as $rule )
   244 			foreach ( array('heading', 'bold', 'italic', 'underline', 'externalwithtext', 'externalnotext', 'image', 'internallink') as $rule )
   245 			{
   245 			{
   246 				$carpenter->enable_rule($rule);
   246 				$carpenter->enable_rule($rule);
   247 			}
   247 			}
   248 			
   248 			
   249 			$code = $plugins->setHook('render_inline_only');
   249 			$code = $plugins->setHook('render_inline_only');