And of cource it is same with self._getAttributes() I wanted to separate them (content, attributes) to individual methods because there are tags that do not need them both, like self closing tags, <input /> etc. I dont know, if it is a performance issue though.
On Dec 4, 7:12 pm, mmstud <[EMAIL PROTECTED]> wrote: > Sorry for confusion and mix. > > self._getContent() is my own private method on parent class (STYLE, > SCRIPT -> DIV) but what it does is basically: > > co=''.join([xmlescape(component) for component in self.components]) > html.py:157 > > then > > self.tag_name = self.tag > > and > > NEWLINE = '\n' is global constant > > I hope these helps to understand code better and makes it work with > unmodified web2py codebase. > > -Marko > > On Dec 4, 5:58 pm, DenesL <[EMAIL PROTECTED]> wrote: > > > Marko, looks promising but I believe some of it is missing, > > for example I don't see these defined: > > NEWLINE, _getContent, tag_name --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---