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

Help me understand: Which way around #3

Open
maxnoe opened this issue Feb 26, 2018 · 3 comments
Open

Help me understand: Which way around #3

maxnoe opened this issue Feb 26, 2018 · 3 comments

Comments

@maxnoe
Copy link

maxnoe commented Feb 26, 2018

Just to get it clear for me: The issue is only happening, when rendering user input serverside, correct?

Users can inject vue templates into stuff that is rendered server side, the other way around is not possible?

Because injecting a template into

<div>{{ some_user_input }}</div>

does not work

@b12f
Copy link

b12f commented Feb 26, 2018

Correct. For example, with vue this is a problem if you use inline-templates or x-templates that are partially rendered server side, before being used as templates client side.

@ctf0
Copy link

ctf0 commented Mar 8, 2018

@b12f should v-pre be added to each laravel controlled div ?

@ghost
Copy link

ghost commented Mar 8, 2018

@ctf0 only those returning user input within a piece of page parsed by vuejs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants