Skip to content

Commit b6729d8

Browse files
authored
Minor changes
- Fixed a bug where gsub'ing % would throw an error describing an invalid use of a replacement string - Updated year to 2017 (since it's 2017 and assuming you're going to fix this, you'll want it up-to-date) - Increased version number from v1.1.0 to v1.1.1 (since it's such a small change but fairly important)
1 parent afdeae7 commit b6729d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/htmlEntities.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local global_module_name_htmlEntities = 'htmlEntities'
88

99
--[==[
1010
The MIT License (MIT)
11-
Copyright (c) 2016 Tiago Danin
11+
Copyright (c) 2017 Tiago Danin
1212
1313
Permission is hereby granted, free of charge, to any person obtaining a copy
1414
of this software and associated documentation files (the "Software"), to deal
@@ -31,9 +31,9 @@ Copyright (c) 2016 Tiago Danin
3131
]==]--
3232

3333
local htmlEntities = {
34-
version = '1.1.0',
34+
version = '1.1.1',
3535
name = 'htmlEntities-for-lua',
36-
author = 'Tiago Danin - 2016',
36+
author = 'Tiago Danin - 2017',
3737
license = 'GPLv3',
3838
page = 'https://TiagoDanin.github.io/htmlEntities-for-lua/'
3939
}
@@ -52,7 +52,7 @@ local htmlEntities_table = {
5252
['&quot'] = '"',
5353
['#'] = '#',
5454
['$'] = '$',
55-
['%'] = '%',
55+
['%'] = '%%',
5656
['&'] = '&',
5757
['&AMP'] = '&',
5858
['&'] = '&',
@@ -2279,7 +2279,7 @@ local htmlEntities_table = {
22792279
['"'] = '"',
22802280
['#'] = '#',
22812281
['$'] = '$',
2282-
['%'] = '%',
2282+
['%'] = '%%',
22832283
['&'] = '&',
22842284
['''] = "'",
22852285
['('] = '(',

0 commit comments

Comments
 (0)