Skip to content

Commit

Permalink
do not erase align attribute from img
Browse files Browse the repository at this point in the history
  • Loading branch information
camliu89 committed Jan 13, 2021
1 parent d41b8d9 commit f9cbc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routines/build_teacher_exercise_content_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class TeacherExerciseScrubber < Rails::Html::PermitScrubber
h4
)
ALLOWED_ATTRS = %w(
alt title src width height style data-math type
alt title src width height style data-math type align
)
ALLOWED_IFRAME_ATTRS = %w(
allowfullscreen class frameborder height mozallowfullscreen
Expand Down

0 comments on commit f9cbc3c

Please sign in to comment.