Skip to content

erbpaser tr() scope is not only html innertext. #49

@hks2002

Description

@hks2002

At present ,tr() scope is html outter html,too many unnessesary tag,attribute in tr() function,
see below:
responsebody += tr(" <style type="text/css">\r\n html, body{\r\n margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;\r\n }\r\n .New_Button, .Edit_Button, .Delete_Button, .Update_Button, .Cancel_Button\r\n {\r\n font-size:11px;color:#1B3F91;font-family:Verdana;\r\n margin-right:5px;\r\n }\r\n </style>\r\n

List UtlMenu

\r\n <div class="mini-fit">\r\n <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" url="/utlMenu/indexJson" pageSize="10">\r\n <div property="columns">\r\n
i feel only text which shown in webpage is better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions