@patch-adams/core 1.4.5 → 1.4.6

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.
package/dist/index.js CHANGED
@@ -1601,7 +1601,7 @@ function generateLrsBridgeCode(options) {
1601
1601
  } catch (e) {}
1602
1602
 
1603
1603
  for (var j = 0; j < urlsToCheck.length; j++) {
1604
- var match = urlsToCheck[j].match(/(https?://core-[a-zA-Z0-9_-]+.bravais.com)/);
1604
+ var match = urlsToCheck[j].match(/(https?:\\/\\/core-[a-zA-Z0-9_-]+\\.bravais\\.com)/);
1605
1605
  if (match) {
1606
1606
  return match[1];
1607
1607
  }
@@ -2117,14 +2117,14 @@ function generateLrsBridgeCode(options) {
2117
2117
 
2118
2118
  // 5. Clean up - remove any "Home" or generic names if we're on a real lesson
2119
2119
  if (lessonInfo.name) {
2120
- lessonInfo.name = lessonInfo.name.replace(/^\\d+\\.\\s*/, ''); // Remove leading numbers "1. "
2120
+ lessonInfo.name = lessonInfo.name.replace(/^\\\\d+\\\\.\\\\s*/, ''); // Remove leading numbers "1. "
2121
2121
  if (lessonInfo.name.length > 200) {
2122
2122
  lessonInfo.name = lessonInfo.name.substring(0, 200) + '...';
2123
2123
  }
2124
2124
  }
2125
2125
 
2126
2126
  if (lessonInfo.sectionName) {
2127
- lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\d+\\.\\s*/, '');
2127
+ lessonInfo.sectionName = lessonInfo.sectionName.replace(/^\\\\d+\\\\.\\\\s*/, '');
2128
2128
  if (lessonInfo.sectionName.length > 200) {
2129
2129
  lessonInfo.sectionName = lessonInfo.sectionName.substring(0, 200) + '...';
2130
2130
  }
@@ -3449,7 +3449,7 @@ function generateLrsBridgeCode(options) {
3449
3449
  // ========================================================================
3450
3450
 
3451
3451
  function init() {
3452
- log('Initializing LRS bridge v2.5.0...');
3452
+ log('Initializing LRS bridge v2.5.1...');
3453
3453
 
3454
3454
  // Extract course info early
3455
3455
  extractCourseInfo();