Ticket #176 (new enhancement)
Please provide a way to add formatters, that don't get placed in '<div class = "code">'
| Reported by: | NilsLindenberg | Owned by: | unassigned |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | formatters | Version: | 1.1.6.1 |
| Severity: | minor | Keywords: | formatter div code |
| Cc: |
Description (last modified by NilsLindenberg) (diff)
copied from the SuggestionBox
I've replaced the part
// use internal Wikka hilighter $output = '<div class="code">'."\n"; $output .= $wakka->Format($code, $language); $output .= "</div>\n";
with
// use internal Wikka hilighter $wakka->formatter_nocode = false; $output = $wakka->Format($code, $language); if (!$wakka->formatter_nocode) $output = '<div class="code">'."\n" . $output . "</div>\n";
in the file formatters/wakka.php to get this. This way I'm able to set $this->formatter_nocode=true in my formatter.
Change History
Note: See
TracTickets for help on using
tickets.