Issue Bug Closed

#17391TMENU .before property adds extra line return in output

Ron Hall 06/16/07, 14:42 updated 09/13/13, 15:05

Description

This is a minor thing that only impacts the formatting of the source code in the front end. It appears that the .before property is adding an extra line after its code. It does this in verison 4.1.1 but not in 4.0.4. I prefer it be like it was in 4.04 so output code can be formatted. Of course, this is minor and does not affect the look of the website only the HTML source. Following is the code and the resulting output.

I am using this TS code to generate a menu:

  1. SETUP GLOBAL MENU
    lib.globalMenu = HMENU
    lib.globalMenu.entryLevel = 0
    lib.globalMenu.1 = TMENU
    lib.globalMenu.1.noBlur = 1
    lib.globalMenu.1 {
    wrap = # Normal State Properties
    NO.before (

  • )
    NO.after =
    1. Current State Properties
      ACT = 1
      ACT.before (

  • )
    ACT.after =

  • }

    In version 4.1.1 the output looks like this:

    In 4.0.4 it looks like this:

    (issue imported from #M5808)

    Reviews 0

    No change resolves or names this issue in its commit message, and no comment links one.