Skip to content

How do I add a dash in front of a line? #98

@naturalmechanics

Description

@naturalmechanics

Consider the code:

li
                    span Adapt and evolve
                    — adjust forms as your business grows and requirements change.

I only want some style to be put in the span, and continue with the remaining text in the li tag.

If I use — or – I get:

`

.dub/packages/diet-ng-1.8.3/diet-ng/source/diet/defs.d(34,3): Error: "file.dt(25): "features.dt(25): Expected node text separated by a space character or end of line, but got 'mdash; adjust forms as your business grows and requirements change.'."`

`

If i use \- because a single dash is a inline D code, I get:

Expected node text separated by a space character or end of line, but got '\\- your website, landing pages, or customer portals\xe2\x80\x94for seamless data collection.'."

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions