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

Non-prefixed Tags #1

Open
trans opened this issue Jun 16, 2009 · 3 comments
Open

Non-prefixed Tags #1

trans opened this issue Jun 16, 2009 · 3 comments

Comments

@trans
Copy link

trans commented Jun 16, 2009

I'd like to request a feature. I'd like to be able to use Radius tags without having to set a prefix. Eg.

  parser = Radius::Parser.new(context, :tag_prefix => nil)
  puts parser.parse(%{A small example:\n<repeat times="3">* <hello />!\n</repeat>})

Is that feasible?

@austinthecoder
Copy link

Probably not a good idea since the namespace would clash with html tags

@jlong
Copy link
Owner

jlong commented May 23, 2010

I'm not opposed to this. See if you can get it worked out and send a pull request.

@andybrice
Copy link

It would be interesting to add support for non-prefixed tags containing hyphens. That way they would not clash with the HTML namespace, and Radius could be used as a preprocessor for custom HTML tags of the type proposed in the upcoming Web Components spec.

I would definitely have a use for this. And coding it might be beyond my knowledge, but I'll have a go.

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

4 participants