Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.

Commit a12fbe9

Browse files
turn wrap off in code blocks
1 parent cf712da commit a12fbe9

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docbase",
3-
"version": "0.2.75",
3+
"version": "0.2.76",
44
"homepage": "https://github.com/appbaseio/Docbase",
55
"authors": [
66
"Henrique Sa <henriquepss@gmail.com>",

dist/js/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@
372372
$rootScope.$on('$routeChangeSuccess', function(newRoute, oldRoute) {
373373
jWindow.on('docbase:ready', function() {
374374
$anchorScroll();
375+
$('code').css('white-space', 'pre');
375376
$('p:contains("{% raw %}")').remove();
376377
$('p:contains("{% endraw %}")').remove();
377378
$('.content').find('pre code').each(function(i, block) {

dist/js/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/main.unique.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/docbase.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@
345345
$rootScope.$on('$routeChangeSuccess', function(newRoute, oldRoute) {
346346
jWindow.on('docbase:ready', function() {
347347
$anchorScroll();
348+
$('code').css('white-space', 'pre');
348349
$('p:contains("{% raw %}")').remove();
349350
$('p:contains("{% endraw %}")').remove();
350351
$('.content').find('pre code').each(function(i, block) {

0 commit comments

Comments
 (0)