ActionText: Safe listing attributes and tags

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rails-html-sanitizer

  • We can create a file called config/initializers/action_text.rb and fill it with some custom contents for allowable things. Let's say for example we wanted to add table editing. We'd need to add , , , and .In addition, we may also want to add some additional attributes which we could also do here say perhaps target for links. # config/initializers/action_text.rb # Add table tags ActionText::ContentHelper.allowed_tags += ["table", "tr", "td", "th", "thead", "tbody"] # Add link attributes ActionText::ContentHelper.allowed_attributes += ["rel", "target"] Enter fullscreen mode Exit fullscreen mode , , You can also see an example from @excid3 's latest ActionText episode: https://github.com/gorails-screencasts/modify-actiontext-html-output/blob/master/config/initializers/action_text.rb https://gorails.com/episodes/modify-and-customize-actiontext-html-output?autoplay=1 If you're feeling real wild, you could even replace the sanitizer and scrubber with your own custom sanitizer / scrubber!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Create a fantastic GitHub developer portfolio with next js.

    1 project | dev.to | 22 May 2024
  • Debugging in Ruby with pry-byebug

    1 project | dev.to | 22 May 2024
  • HrrRbSsh: Pure Ruby SSH 2.0 server and client implementation

    1 project | news.ycombinator.com | 22 May 2024
  • A collection of different tools to analyze your Ruby test suite performance

    1 project | news.ycombinator.com | 21 May 2024
  • Basic painting with Ruby: implementing a flood-fill algorithm with DragonRuby GTK

    1 project | dev.to | 21 May 2024