Hello,
I have an article title that should read "Get <online/>". Entering this and saving it, the "<online/>" part gets truncated.
When I try to circumvent the issue (not letting it look like a tag) and write "Get <online/>", it is not truncated, but the final result in the rendered web page is now (a visual) "Get <online/>" as well, i.e. my quoting has been quoted by phpwcms as well so that the text shows verbatim as entered in the article title field.
How do I have to enter an article title of "Get <online/>" so that it neither gets truncated nor shows in quoted text from at rendering time?
Regards, Christian.
Title with special chars '<' and '>' gets truncated
-
- Posts: 4
- Joined: Thu 30. Mar 2006, 16:41
- Location: Munich, Germany
Hi
I just tried it myself - it really isn't working, but:
I also tried something like
and this is working - graphical solution and not really what you want...?
Greetings
claus
I just tried it myself - it really isn't working, but:
I also tried something like
Code: Select all
{GT:red_head-big2}Get{/GT}{GT:blue_head-big2}<online/>{/GT}
Greetings
claus
Aaah,
you also can do it with unicode
and this will be displayed in the front end.
But you should never open this page again in the backend: phpwcms is rewriting these into Get<online/>and saving the page lets your efforts vanish in the haze...
even this board here is rewriting the unicode, so here it is again: Get & # 60 ; online / & # 62 ;![Wink :wink:](./images/smilies/icon_wink.gif)
you also can do it with unicode
Code: Select all
Get <online/>
But you should never open this page again in the backend: phpwcms is rewriting these into Get<online/>and saving the page lets your efforts vanish in the haze...
even this board here is rewriting the unicode, so here it is again: Get & # 60 ; online / & # 62 ;
![Wink :wink:](./images/smilies/icon_wink.gif)
-
- Posts: 4
- Joined: Thu 30. Mar 2006, 16:41
- Location: Munich, Germany
Thanks for the one-time workaround - yes, I did not try character references (which is what you mean by Unicode, I think).
I know that correct quoting and unquoting (and this in matching pairs) can be a nightmare, but this then seems to be a bug to me. I'll see if I can find some solution by modifying the source code.
Thanks for trying (and also the GT solution - I'll try that later...)
Regards, Christian.
I know that correct quoting and unquoting (and this in matching pairs) can be a nightmare, but this then seems to be a bug to me. I'll see if I can find some solution by modifying the source code.
Thanks for trying (and also the GT solution - I'll try that later...)
Regards, Christian.
If you can "compromise", these all work:
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
This gets the same result:
Problem w/both methods is certain special characters cannot be followed immediately by another character. ![Wink :wink:](./images/smilies/icon_wink.gif)
Maybe being disallowed to avoid conflict (confusion?) as it relates to HTML tag conventions, WYSIWYG editors, etc. -and/or- maybe other valid reasons.![Idea :idea:](./images/smilies/icon_idea.gif)
Top one is ~close~Get < online />
Get < online/ >
Get < online/>
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
This gets the same result:
Code: Select all
[PHP]echo "Get < online />";[/PHP]
![Wink :wink:](./images/smilies/icon_wink.gif)
Maybe being disallowed to avoid conflict (confusion?) as it relates to HTML tag conventions, WYSIWYG editors, etc. -and/or- maybe other valid reasons.
![Idea :idea:](./images/smilies/icon_idea.gif)