We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9709aa8 commit 6e60a6fCopy full SHA for 6e60a6f
1 file changed
ruby/ql/lib/codeql/ruby/frameworks/ActionView.qll
@@ -226,7 +226,7 @@ module ActionView {
226
*/
227
module Helpers {
228
/**
229
- * A call to ActionView helpers which renders its argument without escaping.
+ * A call to an ActionView helper which renders its argument without escaping.
230
* The argument should be treated as an XSS sink. In the documentation for
231
* classes in this module, the vulnerable argument is named `x`.
232
@@ -268,7 +268,7 @@ module ActionView {
268
269
* `ActionView::Helpers::TextHelper#highlight`.
270
*
271
- * `truncate(x, y, sanitize: false)`.
+ * `highlight(x, y, sanitize: false)`.
272
273
private class Highlight extends ActionViewContextCall, RawHelperCall {
274
Highlight() {
0 commit comments