New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autolink username via the @username
syntax miss
#735
Comments
And another one with Possibly need to see if there is a look ahead and a look behind option... and during require a space before the at symbol. |
To stop matching email addresses replace the regex here with this: I'm not sure why the underscore is breaking the match yet. |
The reason is in the trace message... e.g. the package is splitting a "chunk", processing that "chunk", and we're missing it due to routine we are using with it... this is why it would be useful to have a look ahead and look behind with that package so we could see if the "chunk" needs aggregation. |
To be fair. The |
The |
We could probably do it in here but skip when |
I'll take this issue since it was my feature. |
@sizzlemctwizzle |
Do either of you know if there is an equivalent of Closest non-native I have found is html-document but that says it is only a partial implementation. |
* This is definitely **not** the final solution as this only covers single line `code` and not multi-line * HTML `pre` blocks seem unaffected Applies to OpenUserJS#735
Another miss at https://openuserjs.org/scripts/TimidScript/%5BTS%5D_Pixiv++/issues/Pixivv++#comment-15140bea129 with a trailing comma. Moving this to later... @sizzlemctwizzle I would suggest not implementing notifications until this is finalized... there's a bunch of work to do with some research before we can implement that feature correctly. |
* Use a pseudo negative floating look behind since re in V8 still doesn't support this yet NOTE(S): * Sanitizing first to get rid of any unclosed tags e.g. this is a post op * At some point the prior fix stopped working from OpenUserJS#840 * There are still some users missed since other rendering is done first before any post op is applied... those should be filtered at some point. Applies to OpenUserJS#735
* Use a pseudo negative floating look behind since re in V8 still doesn't support this yet NOTE(S): * Sanitizing first to get rid of any unclosed tags e.g. this is a post op * At some point the prior fix stopped working from #840 * There are still some users missed since other rendering is done first before any post op is applied... those should be filtered at some point. Applies to #735 Auto-merge
Ref:
|
* Use a script **disabled** virtual DOM for *node* to autolink in order to find parent if code/pre/a tags e.g. don't link on those but otherwise do * This still doesn't cover every username but it's more than OpenUserJS#1161 NOTE(S): * Tried using their fragment creation methods however `createElement` was absent during tests Applies to OpenUserJS#735
* Use a script **disabled** virtual DOM for *node* to autolink in order to find parent if code/pre/a tags e.g. don't link on those but otherwise do * This still doesn't cover every username but it's more than #1161 NOTE(S): * Tried using their fragment creation methods however `createElement` was absent during tests Applies to #735 Auto-merge
Moving this to GH dev discussion. Currently I think what should happen is:
... or ...
Currently it:
Notes:
Refs:
|
* Clean up the extra spaces some Applies indirectly to OpenUserJS#735
* Clean up the extra spaces some Applies indirectly to #735 Auto-merge
* Create system reserved role type * Bump DB/project version as this is not backwards compatible and a breaking change * Amend TOS for an explicit instead of implied reserved right for renaming access. This is useful to notify the author including possible account name change requests. * When OUJS needs to reserve a future (or current) specific name to continue the Sites integrity, especially from "bad actors", this is useful to have for a reservation with rename. Perhaps useful later on as well for some additional feature. These instance should be rare but declare none-the-less. Post OpenUserJS#1137 OpenUserJS#735 *(inverse)*
* Create system reserved role type * Bump DB/project version as this is not backwards compatible and a breaking change * Amend TOS for an explicit instead of implied reserved right for renaming access. This is useful to notify the author including possible account name change requests. * When OUJS needs to reserve a future (or current) specific name to continue the Sites integrity, especially from "bad actors", this is useful to have for a reservation with rename. Perhaps useful later on as well for some additional feature. These instance should be rare but declare none-the-less. Post #1137 #735 *(inverse)* Auto-merge
* Also minimize JSDOM initialization since we don't currently use the full `jsdom` identifier. * Remove silence from 10d41e7 * New dep to restore highlighting with this version of *marked* * DOM and Server side retested on FAQ/Script Info/ Dev OpenUserJS#735 local discussion NOTE: Seems kind of "sucky" that highlighting was taken out this way as it looks like highlighting won't have the possibility of easily happening in the DOM.
* Also minimize JSDOM initialization since we don't currently use the full `jsdom` identifier. * Remove silence from 10d41e7 * New dep to restore highlighting with this version of *marked* * DOM and Server side retested on FAQ/Script Info/ Dev #735 local discussion NOTE: Seems kind of "sucky" that highlighting was taken out this way as it looks like highlighting won't have the possibility of easily happening in the DOM. Auto-merge
@swole_hamster
is showing as@swole
_hamster ... EDIT: ... from here.Ref:
Trace:
The text was updated successfully, but these errors were encountered: