You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/09/17 21:23:57 UTC
[20/21] allura git commit: [#7955] table example aligns (almost)
visually, not exact same number of chars (which didn't matter anyway)
[#7955] table example aligns (almost) visually, not exact same number of chars (which didn't matter anyway)
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/79d29685
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/79d29685
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/79d29685
Branch: refs/heads/master
Commit: 79d29685baf141fb0d4915a1f63de509f6643b40
Parents: ddc6188
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Sep 17 19:09:16 2015 +0000
Committer: Heith Seewald <hs...@hsmb.local>
Committed: Thu Sep 17 15:22:38 2015 -0400
----------------------------------------------------------------------
Allura/allura/lib/widgets/resources/js/sf_markitup.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/79d29685/Allura/allura/lib/widgets/resources/js/sf_markitup.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/sf_markitup.js b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
index 68e5501..580c709 100644
--- a/Allura/allura/lib/widgets/resources/js/sf_markitup.js
+++ b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
@@ -106,10 +106,10 @@ $(window).load(function() {
function drawTable(editor) {
var cm = editor.codemirror;
_replaceSelection(cm, false, '',
- 'First Header | Second Header | Third Header\n' +
- '------------- | ------------- | ------------- \n' +
- 'Content Cell | Content Cell | Content Cell \n' +
- 'Content Cell | Content Cell | Content Cell ');
+ 'Header | Header | Header\n' +
+ '---------- | ---------- | ------ \n' +
+ 'Cell | Cell | Cell \n' +
+ 'Cell | Cell | Cell ');
}
function toggleCodeBlock(editor, fenceCharsToInsert) {