• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Compliments Module: Adding new line in String?

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.7k Views 2 Watching
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 Offline
    TobiTobsen
    last edited by Aug 29, 2017, 10:23 AM

    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
    • Y Offline
      yawns Moderator
      last edited by Aug 29, 2017, 11:21 AM

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

      1 Reply Last reply Reply Quote 1
      • T Offline
        TobiTobsen
        last edited by Aug 29, 2017, 1:08 PM

        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
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy