We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff4739 commit ef3a8ccCopy full SHA for ef3a8cc
crates/oxide/src/extractor/pre_processors/ruby.rs
@@ -143,8 +143,8 @@ impl PreProcessor for Ruby {
143
_ => {}
144
}
145
146
- // Looking for `%w` or `%W`
147
- if cursor.curr != b'%' && !matches!(cursor.next, b'w' | b'W') {
+ // Looking for `%w`, `%W`, or `%p`
+ if cursor.curr != b'%' || !matches!(cursor.next, b'w' | b'W' | b'p') {
148
cursor.advance();
149
continue;
150
0 commit comments