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

Introduce TIGHT word to output HTML without spaces #16

Open
cool-RR opened this issue Jan 6, 2015 · 0 comments
Open

Introduce TIGHT word to output HTML without spaces #16

cool-RR opened this issue Jan 6, 2015 · 0 comments

Comments

@cool-RR
Copy link
Contributor

cool-RR commented Jan 6, 2015

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.

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

1 participant