equal
deleted
inserted
replaced
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'); |