Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

variable scope, $Head->AddString, argh

13»

Comments

  • well, there are two issues. one, i've already written the extension and it handles several attributes in the code tag - language, line numbering, title, highlighting certain lines. i really don't want to give up what i've already done. two, there's already an extension called html++. okay, that's not such an issue.
    maybe i can just call HtmlFormatter::Execute() on my text, instead of including the code. is there a way to do that?
  • But the problem is that this formatter's a child of HtmlFormatter, so it would be called after HtmlFormatter::Execute() has been called. What I gave you wasn't supposed to be a replacement for your extension, but merely a working example of how you could go about reversing the affects of the HtmlFormatter on select sections of the text.
  • no no... i rewrote it so that it's not a child of HtmlFormatter - it uses its own formatter called Code. i don't know if it has permission to access the methods of HtmlFormatter, though. And i guess there's no way to know if HtmlFormatter has been loaded first.

    i'll try it your way though. and i'll post the code later. thanks!
This discussion has been closed.