aahmyu 9 Posted July 12, 2019 Posted July 12, 2019 Hello, On my Nvidia shield the app is not handling the line breaks in the descriptions at all, and keep displaying the `br` tags which is not nice. The web and android clients are displaying the texts correctly. I'm using latest beta of everything. regards
Solution Luke 42078 Posted July 12, 2019 Solution Posted July 12, 2019 Hi, we don't support html tags in overviews so I would suggest removing them. 1
aahmyu 9 Posted July 12, 2019 Author Posted July 12, 2019 Hi, we don't support html tags in overviews so I would suggest removing them. Ok thanks, it is not a big of a deal. Just thought I'd let you know.
daedalus 434 Posted July 12, 2019 Posted July 12, 2019 Hi, we don't support html tags in overviews so I would suggest removing them. not only that, you don't support any line breaks in the overview
ebr 16184 Posted July 12, 2019 Posted July 12, 2019 not only that, you don't support any line breaks in the overview That isn't entirely true. Whatever is being done here works (at least on Android TV)...
daedalus 434 Posted July 12, 2019 Posted July 12, 2019 so you don't know what works and what not? interesting "(at least on Android TV)" consistency, embys hobbyhorse i've never seen any working one here at the apps i'm using 1
Luke 42078 Posted July 12, 2019 Posted July 12, 2019 We've already said on this forums, it's not supported, there's your consistency. Until we're able to go through every single app and find a line break convention that will work, we do not consider it supported at all. If you want to hack it use use , then go right ahead, just be aware it will not work in all apps.
Luke 42078 Posted July 12, 2019 Posted July 12, 2019 If you'd like to see this done sooner, then please file a feature request topic and we'll be able to prioritize it based on demand.
speechles 2055 Posted July 12, 2019 Posted July 12, 2019 (edited) @@daedalus For <br> to work usually requires entity mapping. Some of the Emby apps aren't doing entity mapping. The Roku I know it maps most html tags and removes ones it cannot render. This is the behavior you are seeing. While on Apple TV it would likely not work at all. They likely aren't mapping html entities within labels to their proper characters. Roku does for a few things(during json parsing) and I know <br> is one of those things. So like @@Luke said your mileage will vary. All the web based apps will work with it. Android, Theater, Web, etc... The only real issue will be those iOS devices. They might not be handling this correctly as it isn't a standard. There is no standard for line break/new line. Some use \n. Some use \r. Some use \r\n. Some use <br>. Some use <hr> and want the horizontal ruler line. A standard would be nice. You should make the feature request... lol Edited July 12, 2019 by speechles
daedalus 434 Posted July 12, 2019 Posted July 12, 2019 manually replacing fetched line breaks with the <br> tags is neither practical nor preferable if i can add and see line breaks in the edit box, i also should see them displayed If you'd like to see this done sooner, then please file a feature request topic and we'll be able to prioritize it based on demand. i've learned my lesson, won't happen again
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now