Skip to content

Introduce TIGHT word to output HTML without spaces #16

Description

@cool-RR

This is an issue to track the feature I suggested here:

https://groups.google.com/forum/#!topic/shpaml/EN6n6PN8_b0

I find myself needing this again. I don't think I'll implement this soon, but I want to keep this issue open in case someone (me or someone else) will want to implement in the future.

The feature:

Sometimes I want to generate HTML like this using Shpaml:

<a href='whatever'>Hello</a>, world!

The point is that there are no spaces inside the a tag, this is important so there wouldn't be a space before the comma, which would look ugly.

Currently it seems that the only way to do this in Shpaml is to include raw HTML. This works, but having Shpaml syntax for it would be better.

I suggest a keyword TIGHT (or some other similar word) similar to VERBATIM which will cause all sub-tags to contain no space between them.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions