Title: Allow replacing with full WebUris by tarzan · Pull Request #9 · dciccale/node-htmlprocessor · GitHub
Open Graph Title: Allow replacing with full WebUris by tarzan · Pull Request #9 · dciccale/node-htmlprocessor
X Title: Allow replacing with full WebUris by tarzan · Pull Request #9 · dciccale/node-htmlprocessor
Description: Hi there!
I've been using grunt-processhtml task for some html post-processing and a recent update breaks my flow.
The following line https://github.com/dciccale/node-htmlprocessor/blob/master/lib/blocktypes.js#L34 now tries to join paths of a block to be replaced. This means that trying to do a replace action with full-URL now result in an invalid URL.
For example:
Open Graph Description: Hi there! I've been using grunt-processhtml task for some html post-processing and a recent update breaks my flow. The following line https://github.com/dciccale/node-htmlprocessor/blob/master/...
X Description: Hi there! I've been using grunt-processhtml task for some html post-processing and a recent update breaks my flow. The following line https://github.com/dciccale/node-htmlprocessor/blob/mas...
Opengraph URL: https://github.com/dciccale/node-htmlprocessor/pull/9
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:28f3bb82-a255-8910-40f4-c502847ded94 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C518:2F7044:3564623:483D502:6A5DD32A |
| html-safe-nonce | 2be6347325404fe28ff57ebf77374e1743422ca1475fb3f86536df9f705738bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTE4OjJGNzA0NDozNTY0NjIzOjQ4M0Q1MDI6NkE1REQzMkEiLCJ2aXNpdG9yX2lkIjoiMjUyMTE4MDg2NzUzMDQ3MzM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d36bcbd8b0cb7fc72cfcaac95d1cf47cb8dfd4ae26ebe6d8bb431f7701638d9f |
| hovercard-subject-tag | pull_request:27351501 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/dciccale/node-htmlprocessor/pull/9/files |
| twitter:image | https://avatars.githubusercontent.com/u/140655?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/140655?s=400&v=4 |
| og:image:alt | Hi there! I've been using grunt-processhtml task for some html post-processing and a recent update breaks my flow. The following line https://github.com/dciccale/node-htmlprocessor/blob/master/... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/dciccale/node-htmlprocessor git https://github.com/dciccale/node-htmlprocessor.git |
| octolytics-dimension-user_id | 539546 |
| octolytics-dimension-user_login | dciccale |
| octolytics-dimension-repository_id | 18644796 |
| octolytics-dimension-repository_nwo | dciccale/node-htmlprocessor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18644796 |
| octolytics-dimension-repository_network_root_nwo | dciccale/node-htmlprocessor |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width