Jan Janoušek
Jan Janoušek
Minimally "id" attribute should NOT be allowed. It is potentially dangerous: https://research.securitum.com/xss-in-amp4email-dom-clobbering/
I wrote this polyfill to fix this issue. It is really ugly, but it should work. ``` // Chrome toLocaleString bug (() => { let testDate = new Date(2021, 0,...
@saiqulhaq There is one important problem with your polyfill. It does not work with timezone conversion. That is the reason why is my polyfill so ugly (it works with time...
@saiqulhaq Take a look on this line: https://github.com/iamkun/dayjs/blob/2ab64ac3e84375e167fe1b23cb2282c9fdb5c930/src/plugin/timezone/index.js#L99 "toLocaleString" receive target timezone. But you are not working with it in your polyfill.
Maybe related to https://github.com/trilbymedia/grav-plugin-tntsearch/issues/107
I believe that this can be solved with possibility to define custom regular expressions for empty elements. This is universal solution, and it is up to developers to define rules...
Angular 17 has breaking change, that affect change detection (and ngxd): > OnPush components that are created dynamically now only have their host bindings refreshed and ngDoCheck run during change...
@logeyG This fix is not correct. Try this: ``` let date = new Date(2023,9,2,0,0,0); let val1 = new Intl.DateTimeFormat('en-US', { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit',...