Skip to content

Remove html tags from job description #78

@ksk5280

Description

@ksk5280

Investigate best way to remove html tags from the job description before rendering on the view.

The rails view uses the sanitize method: https://github.com/LookingForMe/lookingfor/blob/d3b65541264aec1b7f76ef1bac988b379a1f3a04/app/views/jobs/show.html.erb#L21

http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html

Would it make more sense to remove the tags from the API endpoint or to try to remove them on the front-end?

@rrgayhart @NickyBobby @hhoopes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions