Skip to content

Produces Invalid HTML if wrapped in a <p> tag - source of hydration issues with SSR #53

Open
@TuringJest

Description

@TuringJest

Using v-clamp inside a <p> tag will generate invalid HTML as v-clamp will put a div wrapper around the text.
In NUXT this will lead to hydration problems with SSR rendering even when the plugin is configured to ssr: false.

Why not use another span? Or add an option to choose the wrapper tag?

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