Thanks — if the line break was already hardcoded before, then the issue is probably not that 7.4.5 newly added a “<br>” tag.
Looking at the templates, most tag templates already include a hardcoded “<br/>” before location, but li-notitle.php does not.
So the most likely causes are:
- a different html_tag template is now being used than before, or
- The previous output was rendered differently due to older escaping / malformed HTML, and 7.4.5 now produces cleaner markup, so the existing is being honored consistently.
Could you please confirm which html_tag option is being used in the shortcode/output?
For reference:
- li-notitle => inline location
- li, li2, p, dd, lip, li-month, li-month-notitle, li-title => location starts after a hardcoded
Looking at the templates, most tag templates already include a hardcoded
before location, but li-notitle.php does not.
So the most likely causes are:
- A different html_tag template is now being used than before, or
- The previous output was being rendered differently because of older escaping / malformed HTML, and 7.4.5 now produces cleaner markup, so the existing is being honored consistently.
Could you please confirm which html_tag option is being used in the shortcode/output?
For reference:
- li-notitle => inline location
- li, li2, p, dd, lip, li-month, li-month-notitle, li-title => location starts after a hardcoded
Thread Starter
towpni
(@towpni)
Thank you for your reply.
I wrote you some month ago in order to achiev a result as shown on the webiste I mentioned above.
Before 7.4.5 this code worked fine:
[gc_list_view date_format=”d.m.\’y” time_format=”H:i” view_location=”yes” html_tag=”li-month-notitle” view_location_name=”·” view_end_date=”-” months_title=”1,2,3,4,5,6,7,8,9,10,11,12″]
Thread Starter
towpni
(@towpni)
I changed „Genral Settings“ > „HTML tag“ to: li-notitle
But location is not inline
It’s strange that changing it to li-notitle doesn’t make it inline.
Using the shortcode you provided, it now displays inline (on one line) in my environment.
Also, version 7.4.7 fixes the issue where li-month-notitle caused line breaks.
After updating to 7.4.7, try using the html_tag shortcode:
html_tag = "li-month-notitle"
or delete the html_tag shortcode and select li-month-notitle in the settings and save.
Afterward, try refreshing the site twice.
If you are using a caching plugin, try clearing your cache.
Thread Starter
towpni
(@towpni)
Thank you so much, it’s inline again!! after updating to 7.4.7 and with html_tag “li-month-notitle”.