@sdetweil – thanks so much. I wanted to confirm before reporting as a defect, but I guess you did that for me :)
Read the statement by Michael Teeuw here.
Latest posts made by noisedoctor
-
RE: Compliments - Multi Line not working?
-
RE: Compliments - Multi Line not working?
so, is the documentation wrong?
https://github.com/MichMich/MagicMirror/tree/master/modules/default/complimentsMulti-line compliments: Use \n to split compliment text into multiple lines, e.g. First line.\nSecond line. will be shown as: First line. Second line.
I’m happy making a code change, but the docs state that this should already be working. is it a factor of being an external file?
-
RE: Compliments - Multi Line not working?
@broberg – sorry for the lag… I did save a file as utf8 (it was ANSI before). I am simply viewing the MM on the display connected to my Raspberry Pi. Any other guess what I could be doing wrong?
-
RE: Compliments - Multi Line not working?
I do have that in the CSS. I haven’t made any CSS customizations. I installed everything two days ago, so I expect I have the latest code installed.
-
Compliments - Multi Line not working?
Platform: Raspberry Pi 3
MagicMirror Version [ V1 / V2-Beta ]: 2.9.0I have the following in my .json file for the compliments module:
{
“anytime” : [
“line 1\nline 2”
]
}on the screen I see:
line 1 line 2not what I expect:
line 1
line 2I wanted to see if this is known issue. I don’t see any issue raised in github. The documentation (https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments) says the \n syntax should work for multi-line compliements.
This is external json file if that matters.