Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Compliments Module: Adding new line in String?

    Troubleshooting
    2
    3
    1288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TobiTobsen last edited by

      Hi All,
      I am wondering if it is possible to add a new line within one String (compliment)?
      I have tried several ways that are described for JSON such as /n, //n, ‘/n’.
      Nothing works when testing…
      Appreciate your help!
      Cheers,
      Tobi

      1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        did you try the HTML br tag?
        <br />

        1 Reply Last reply Reply Quote 1
        • T
          TobiTobsen last edited by

          I tested it now but did not help. Testet it within the string or seperated like “abc” +
          + “def”.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy