jekyll-plugin-rtlify 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/jekyll/rtlify.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a54ce1f510472d14cc8b1cf8116ddb488bb4289
4
- data.tar.gz: f9455a9f0a52ae9cc512113ea2bb29428cae9f70
3
+ metadata.gz: 81d6fbb9422f52526fac68524e182ad391c55885
4
+ data.tar.gz: 4a246584edd4f39e91f38316a9d047d0d23b93f2
5
5
  SHA512:
6
- metadata.gz: 0d93aa346d620ddd4106b4b1e1fa10e7c79ebac684f2fa26a7be577164be5381e9bc50bcb06176b80847674603d031f4cb277e721e2921f92de0aa851eb39a61
7
- data.tar.gz: de1fd0ed1cca811098b3ba0744bfe8d81962f199f36a48af05bab0126c9b9f0b6c22008245975a28282dc69ad4576afe2ed2d2aa31fe1d4c19db7fc72b69bf2c
6
+ metadata.gz: 38fb111182cb780fd8a183425af212e24aa374eeecb584afb652cf6440df2af91b9bd5120291b79c676f0459f1dce156b9bd3bc34ce541670298ab1798977338
7
+ data.tar.gz: b2a5848cee66f7cf6d51db5299eb67427ba7174963b0d036c4ca27aa655e15c842ccc24dbca7e9d7d2dafb930ce86d61e0b821c0cb7fe3c709fa8e6f1d5f02dc
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 Keyvan Mir Mohammad Sadeghi
3
+ Copyright (c) 2016 WoFoRo
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -15,7 +15,7 @@ module Jekyll
15
15
  def render(context)
16
16
  html = context.find_variable(@variable)
17
17
  tags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'ul']
18
- tags.each { |tag| html = html.gsub(/<#{tag}/, "<#{tag} dir=\"auto\"")}
18
+ tags.each { |tag| html = html.gsub(/<#{tag}\s/, "<#{tag} dir=\"auto\"")}
19
19
  html
20
20
  end
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-plugin-rtlify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keyvan Mir Mohammad Sadeghi