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 3778c28 commit 14f888fCopy full SHA for 14f888f
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