Skip to content

Commit 6e60a6f

Browse files
hmacnickrolfe
andauthored
Apply suggestions from code review
Co-authored-by: Nick Rolfe <nickrolfe@github.com>
1 parent 9709aa8 commit 6e60a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionView.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ module ActionView {
226226
*/
227227
module Helpers {
228228
/**
229-
* A call to ActionView helpers which renders its argument without escaping.
229+
* A call to an ActionView helper which renders its argument without escaping.
230230
* The argument should be treated as an XSS sink. In the documentation for
231231
* classes in this module, the vulnerable argument is named `x`.
232232
*/
@@ -268,7 +268,7 @@ module ActionView {
268268
/**
269269
* `ActionView::Helpers::TextHelper#highlight`.
270270
*
271-
* `truncate(x, y, sanitize: false)`.
271+
* `highlight(x, y, sanitize: false)`.
272272
*/
273273
private class Highlight extends ActionViewContextCall, RawHelperCall {
274274
Highlight() {

0 commit comments

Comments
 (0)