Comments (2)
We can use http://apidock.com/rails/ActionView/Helpers/SanitizeHelper/sanitize to aviod this issue. But it can hide some parts of bodies for existing snippets, for example <client_name> or [some URL] on snippet view page. We can customize it, but need to define white list for tags. @ari
from jobsworth.
Isn't this the same problem we have in task comments? Why aren't we getting an error there?
At any rate, I'd like to move to markdown for comment text (with some extensions of our own like #1234 task links). I guess we'll need to think about incoming text from emails too, but hopefully markdown will cope with that.
from jobsworth.
Related Issues (20)
- Initialize default admin properly HOT 1
- Ruby related warning regarding '&' at paperclip-4.3.6/lib/paperclip/storage/filesystem.rb:49 HOT 1
- Message "Invalid user or password" before login and after logout HOT 1
- Translation related formatting issue in tooltip for editing a project
- Date formats lack ISO 8601 and DIN ISO 8601:2006-09 HOT 3
- Implementation of subresource integrity HOT 1
- index_task_users_on_user_id index error HOT 1
- Unknown column 'dependency_id'
- Cannot create task HOT 2
- ActionController::RoutingError (No route matches [GET] "/images/indicator.gif"):
- Default milestone for new tasks HOT 1
- adapter: jdbc
- Adding properties not working
- Editing tasks giving 500 error
- Can't install. Error 500 HOT 7
- ActionController::RoutingError (No route matches [POST] "/widgets/155"): HOT 1
- Can anyone tell me what version is running on www.clockingit.com? HOT 6
- Screenshots and promo page
- Docker install? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jobsworth.