Jump to content

Unexpected space after printing a date using {$value|raw} in Pages


Recommended Posts

Hello IPS,

Tiny issue but always something to fix.

1. Add custom field of date and allow to define time for the field

2. Add a record and set the above field

3. Print it using {$value|raw}.

In result at the end, after the date/time you will have extra space. It is visible when you use it in the middle or at the end of sentence, example: Could contain: Text, Home Decor, Linen, City, Plant, Vegetation, Page

Link to comment
Share on other sites

  • 1 month later...

This is how I print it:

{{if $formValue != 0}}<div class='ipsMessage ipsMessage_info ipsSpacer_top' data-ipsTooltip title='The version package has been altered'> The package has been re-uploaded at least once, last time on {$value|raw}. Details in <strong>Additional Information</strong> area.</div>{{endif}}

As you can see the space is added between date and .

Could contain: Page, Text, Computer, Electronics, Pc, File, Hardware, Computer Hardware, Monitor, Screen

Edited by PatrickRQ
Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...