developmentseed / developmentseed/bones-document

Add escape and/or strip method to Renderer

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The Renderer currently only has a render method. I've found myself using this render method when using id-type attributes of a model to construct urls. This works because I'm sure the id is simple and that it's renderer is just an escape. It may be useful to specify either html escaping or stripping behavior on arbitrary attributes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.