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 907394d commit 6a6edafCopy full SHA for 6a6edaf
lib/poparser.js
@@ -174,7 +174,7 @@ Parser.prototype._lexer = function (chunk) {
174
case this.states.comments:
175
if (chr === '\n') {
176
this._state = this.states.none;
177
- } else if (chr === '~') {
+ } else if (chr === '~' && this._node.value === '') {
178
this._node.value += chr;
179
this._state = this.states.obsolete;
180
} else if (chr !== '\r') {
0 commit comments