Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALLOW_INLINE_CODE not working #304

Open
palewire opened this issue Nov 12, 2021 · 3 comments
Open

ALLOW_INLINE_CODE not working #304

palewire opened this issue Nov 12, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@palewire
Copy link
Contributor

I even set it true explictly in my fork and still no go. It's not rendering the example purple text snippets in my page.

@palewire palewire added the bug Something isn't working label Nov 12, 2021
@afischer
Copy link
Member

Hey @palewire, I was just able to get the test (copied below) to render on an instance of Library running v1.4.2.

At a quick glance it doesn't look like there are any differences in your fork that would cause this functionality to break... Not quite sure what would be causing your issue :/

<%-
<style>
.purplePapyrus {
font-family: papyrus;
color: purple;
}
</style>
<div class="purplePapyrus">But this custom style will!</div>
%>

@palewire
Copy link
Contributor Author

palewire commented Nov 12, 2021

Oddly, I see it working in one doc on our site, but not on another. Could it be something about the document itself or its metadata causing the problem?

The one it works on is very short. The one it fails on is very long. If that matters at all.

@afischer
Copy link
Member

Huh... I've seen some odd behavior in long documents with complex formatting before.... I suspect there's a small bug in our html parsing that compounds for larger documents.

Sorry this is causing issues for you, hopefully I'll have some time to look into it in soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants