Skip to content
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

Disable hashtag link #22

Closed
Lempkin opened this issue Nov 6, 2018 · 2 comments
Closed

Disable hashtag link #22

Lempkin opened this issue Nov 6, 2018 · 2 comments
Labels
feature New feature or request

Comments

@Lempkin
Copy link

Lempkin commented Nov 6, 2018

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request

OS and Version?

Windows 10

Versions

7.0.4

Desired functionality

It would be nice to be able to disable the hashtag linkify, as in my case, hashtags doesn't leads to anything, but as far as I saw, I cannot disable it.

@AnthonyNahas AnthonyNahas added the feature New feature or request label Nov 6, 2018
@adrienlamotte
Copy link

Hello, same thing here ! :-)

@AnthonyNahas
Copy link
Owner

I've just release ngx-linkifyjs v1.2.1 which contains this new feature, the ability to disable hashing and mentions via config while importing the NgxLinkifyjsModule

e.g:

import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {NgxLinkifyjsModule} from 'ngx-linkifyjs';


@NgModule({
  imports: [
    CommonModule,
    NgxLinkifyjsModule.forRoot({enableHash: false}),
  ],
  declarations: [HomeComponent],
})
export class HomeModule {
}

thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants