Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add escape and/or strip method to Renderer

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
backend

Research direction

Start by locating the Renderer implementation and its existing render method. Review how model attributes are rendered, then clarify whether the requested API should escape, strip, or support both behaviors and how arbitrary attributes are selected. Done means the agreed behavior is implemented and covered by focused tests.

Written by the indexing model from the issue text.

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.

Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/bones-document

All issues in developmentseed/bones-document

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.