Disallowed Characters in Markdown
We received a report from one of our support personnel that they were trying to add a PHP code snippet into a triple-tick block on a private comment on a ticket and it wouldn't allow them to do so, returning the error "You do not have permission to access that page." upon attempting to save the ticket. The snippet contained the standard opening PHP tag `<?php` and closing PHP tag `?>`.
So, my first question: Is there a list of disallowed characters in Markdown anywhere?
Secondly: If not, is this a known problem? And if so, what's the workaround?
Thanks!
Phil Mills
-
Same issue. We have code in our response too, but it's just:
```
define('ITSEC_DISABLE_MODULES', true);
```No opening/closing PHP tags. Happens when one of my moderators tries to reply who is part of that group and when I do it and I'm an admin.
-
Oh, this is weird.
This doesn't work:
```
<?php
phpinfo();
?>
```
However, this does:
```
<?ph
phpinfo();
?>
```
And even weirder still, this works:
```
<?php
?>
```
-
Hey Phil,
The workaround to this would be to use the rich text editor in Zendesk instead of markdown on tickets for formatting.
I'd recommend submitting this to Zendesk Support if you haven't already so they can investigate if it's actually a known issue or not for you etc and give you some more insight to it. - support@zendesk.com
:)
Please sign in to leave a comment.
3 Comments