jeffreytse / jekyll-spaceship

🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
MIT License
626 stars 67 forks source link

[question] how to reserve the spaces between emoji? #91

Open Freed-Wu opened 1 year ago

Freed-Wu commented 1 year ago
Hello world! :smile: This is a test.

Acutual Behaviour

 <p>Hello world!<img class="emoji" title=":smile:" alt=":smile:" raw="😄" src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png" style="vertical-align: middle; display: inline; max-width: 1em; visibility: hidden;" onload="this.style.visibility='visible'" onerror="this.replaceWith(this.getAttribute('raw'))">This is a test.</p>

Screenshot from 2023-07-12 05-03-25

Expected

 <p>Hello world! <img class="emoji" title=":smile:" alt=":smile:" raw="😄" src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png" style="vertical-align: middle; display: inline; max-width: 1em; visibility: hidden;" onload="this.style.visibility='visible'" onerror="this.replaceWith(this.getAttribute('raw'))"> This is a test.</p>

Screenshot from 2023-07-12 05-03-47

jeffreytse commented 1 year ago

Hi @Freed-Wu,

Thanks for your reporting, I've settled down your issue, and please try with the latest version again.

Thanks & Regards

Freed-Wu commented 1 year ago

Good. Is there any project to release a new version?

jeffreytse commented 1 year ago

Hi @Freed-Wu, you can update your plugin with the repository's master branch in the Gemfile as below snippet. : )

gem 'jekyll-spaceship', git: 'https://github.com/jeffreytse/jekyll-spaceship'
Freed-Wu commented 1 year ago

gem 'jekyll-spaceship', git: 'https://github.com/jeffreytse/jekyll-spaceship'

My Gemfile is

# frozen_string_literal: true

source 'https://rubygems.org'

require 'yaml'
config = YAML.load_file('_config.yml')
config['plugins'].each do |plugin|
  gem plugin
end
Freed-Wu commented 1 year ago

Although I can use the source from github temporarily, I still recommend to release a new version at least it can let user download package from mirror of rubygems which is faster than github. :smile:

jeffreytse commented 1 year ago

@Freed-Wu, I will try to release a new version as soon as possible. : )