Title is truncated after spaces

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
User avatar
fraenkiman
Posts: 210
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Title is truncated after spaces

Post by fraenkiman » Sun Nov 06, 2022 8:00 pm

Hello together,

I observe a strange behavior in fp-1.3dev [master/smarty4] with plugins (e.g. spoilertags, downloadctr) that the title inside " " is truncated if a space is included.

Code: Select all

[download=downloadctr.zip name="My test file" size=k]
In the preview and in the blog the output looks like this:

"My [-0 kB] (0 downloads)

Code: Select all

[spoiler="Title of the spoiler"]Hidden conntent inside the spoiler tag[/spoiler].
The output of the spoiler tag plugin then looks like this:

"Title

I can't assign the problem. Maybe someone already has experience with this and can place a solution here.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
fraenkiman
Posts: 210
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

[Solved] Title is truncated after spaces

Post by fraenkiman » Sun Dec 04, 2022 12:41 am

Hello all,

I have found the cause of the problem. The Markdown plugin that was active on this FlatPress instance was interfering with the output of both plugins.

Have a restful advent weekend
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Title is truncated after spaces

Post by Arvid » Sat Dec 17, 2022 12:53 pm

Okay, thanks for letting us know!

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests