Title: Fix for inline HTML by sake92 · Pull Request #27 · dciccale/node-htmlprocessor · GitHub
Open Graph Title: Fix for inline HTML by sake92 · Pull Request #27 · dciccale/node-htmlprocessor
X Title: Fix for inline HTML by sake92 · Pull Request #27 · dciccale/node-htmlprocessor
Description: Regarding my question at dciccale/grunt-processhtml#108, when an inline HTML is used, the result is incorrect. This fix is quick and dirty. Since the parser (and replacing) is line based (as far as I could understand), the solution is to insert new lines before and after comment tags. P.S. This is my first PR in JavaScript. :)
Open Graph Description: Regarding my question at dciccale/grunt-processhtml#108, when an inline HTML is used, the result is incorrect. This fix is quick and dirty. Since the parser (and replacing) is line based (as far as...
X Description: Regarding my question at dciccale/grunt-processhtml#108, when an inline HTML is used, the result is incorrect. This fix is quick and dirty. Since the parser (and replacing) is line based (as far as...
Opengraph URL: https://github.com/dciccale/node-htmlprocessor/pull/27
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:824a51d3-8486-3da9-97df-a1f4f4842657 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB9C:11682C:DA8D09:11E2771:6A5C33B3 |
| html-safe-nonce | 32ff30f67934bcc00901b1f127340b6aae8bf20b2eebb4f195a4efc9c41442b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjlDOjExNjgyQzpEQThEMDk6MTFFMjc3MTo2QTVDMzNCMyIsInZpc2l0b3JfaWQiOiI4MDIyMDM4NTUxNzMwMDc0NTQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 226e51d3df04de71c574e9a4d0653eee9bca0e26733d4f27804e4894bdd32939 |
| hovercard-subject-tag | pull_request:109784125 |
| 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/27/files |
| twitter:image | https://avatars.githubusercontent.com/u/12010694?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12010694?s=400&v=4 |
| og:image:alt | Regarding my question at dciccale/grunt-processhtml#108, when an inline HTML is used, the result is incorrect. This fix is quick and dirty. Since the parser (and replacing) is line based (as far as... |
| 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 |
| 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