Railo
  1. Railo
  2. RAILO-2040

Compiler option: remove space between cffunction and cfargument

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.000, 4.0.1.001
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      add a option to the railo admin/compiler settings that railo removes spaces between the cffunction start tag and the last cfargument tag.

        Gliffy Diagrams

          Activity

          Show
          Michael Offner added a comment - https://github.com/getrailo/railo/commit/bc692f8db041bdb75fbce1422eec3ce54ad80ffb
          Hide
          Michael Offner added a comment -

          this removes a lot of unnecessary space produced by function where output is not set to false, so you dont have to do stuf like the following anymore

          <cffunction name="test"><!---
          --><cfargument name="a"><!--
          ---><cfargument name="b">

          or

          <cffunction name="test"><cfargument name="a"><cfargument name="b">

          Show
          Michael Offner added a comment - this removes a lot of unnecessary space produced by function where output is not set to false, so you dont have to do stuf like the following anymore <cffunction name="test"><!--- -- ><cfargument name="a"><! -- ---><cfargument name="b"> or <cffunction name="test"><cfargument name="a"><cfargument name="b">

            People

            • Assignee:
              Michael Offner
              Reporter:
              Michael Offner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development