Skip to content

External HTML components escaped聽#9

Description

@vimbrandt

Hi! 馃憢
I'm working on a component helper library to be shared across multiple projects, which uses ucontent to generate server-side markup for each component. However, the two separate instances of ucontent (component lib & project) are incompatible for rendering markup. The component markup is escaped as text instead of live html (but works properly if I copy/paste the component library source into the project repo and use the same ucontent instance).

I believe the problem is caused by the prefix for uparser in utils.js using Date.now(). Is this timestamp necessary for proper functionality?

I've cloned the repo here and removed the timestamp, which seems to fix things. I'm cautious though, since I'm not sure if the internal parser depends on a unique prefix for proper caching / whatnot.

Happy to create a demonstration repo if that helps.

Thanks for your help and your great collection of libraries!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions