unicorn-fail / dreditor

The "Dreditor" browser extension for Drupal.org.
https://www.drupal.org/project/dreditor
GNU General Public License v2.0
72 stars 36 forks source link

Drupal.dreditor.issue.getNewCommentNumber() is not returning the correct comment number #280

Closed alexpott closed 8 years ago

alexpott commented 8 years ago

This is because of the new code filter on d.o... it adds the following html <span class="token comment" spellcheck="true">// Prefix and suffix used for Ajax replacement.</span>

star-szr commented 8 years ago

@alexpott thanks, example issue link please? I can't find one that's broken so far. And just in case, what browser and version are you using?

alexpott commented 8 years ago

https://www.drupal.org/node/2346893#new

screen shot 2016-03-30 at 14 48 26

Chrome Version 49.0.2623.87 (64-bit)

star-szr commented 8 years ago

Was able to reproduce this with that issue, thanks. Manual testing before/after checks out and the PR (#281) seemed quite safe so it has been merged. Thanks for this!