[Rt-devel] [3.8beta PATCH 1/3] xhtml: uppercase element names/attributes

Ruslan Zakirov ruz at bestpractical.com
Thu Apr 10 16:56:31 EDT 2008


done with
find html/ -type f | xargs perl -i -pwe 's/(\w")<%/$1 <%/g'

please check

On Fri, Apr 11, 2008 at 12:51 AM, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> I'm going to apply, but please send me patch that returns back space
>  in "LIKE"<%...
>  It's very hard to read such code without spaces. I don't think there
>  are any problems with tag <xxx > or with many spaces between
>  attributes.
>
>  2008/4/11 Jason Long <jlong at messiah.edu>:
>
>
> > This patch finds a bunch of places where uppercase HTML attributes
>  >  were used and replaces them with the XHTML lowercase equivalents.
>  >  ---
>  >
>  >   html/Admin/Elements/SelectCustomFieldLookupType |    2 +-
>  >   html/Admin/Elements/SelectCustomFieldType       |    2 +-
>  >   html/Admin/Elements/SelectScrip                 |    4 ++--
>  >   html/Admin/Elements/SelectScripAction           |    4 ++--
>  >   html/Admin/Elements/SelectScripCondition        |    4 ++--
>  >   html/Admin/Elements/SelectSingleOrMultiple      |    8 ++++----
>  >   html/Admin/Elements/SelectStage                 |    2 +-
>  >   html/Admin/Elements/SelectTemplate              |    6 +++---
>  >   html/Elements/EditCustomFieldSelect             |    6 +++---
>  >   html/Elements/SelectLang                        |    2 +-
>  >   html/Elements/SelectMatch                       |   16 ++++++++--------
>  >   html/Elements/SelectOwner                       |    4 ++--
>  >   html/Elements/SelectSortOrder                   |    2 +-
>  >   html/Elements/SelectStatus                      |    4 ++--
>  >   html/Elements/SelectTicketSortBy                |    2 +-
>  >   html/Elements/SelectTicketTypes                 |    2 +-
>  >   html/Elements/SelectWatcherType                 |    2 +-
>  >   html/Search/Elements/SelectChartType            |    2 +-
>  >   html/Search/Elements/SelectGroup                |    2 +-
>  >   html/Search/Elements/SelectPersonType           |    4 ++--
>  >   html/Ticket/Elements/ShowDates                  |    2 +-
>  >   html/Ticket/Update.html                         |    8 ++++----
>  >   lib/RT/Interface/Web/QueryBuilder/Tree.pm       |    2 +-
>  >   23 files changed, 46 insertions(+), 46 deletions(-)
>  >
>  >  (Patch is attached)
>  >
>  > _______________________________________________
>  >  List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>  >
>  >
>
>
>
>  --
>  Best regards, Ruslan.
>



-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list